SHA256
1
0
forked from pool/pari

Accepting request 725590 from science

- Enable pthreads [boo#1142714]

OBS-URL: https://build.opensuse.org/request/show/725590
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pari?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2019-08-24 16:46:01 +00:00 committed by Git OBS Bridge
commit 9c4c52a5b7
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 23 13:49:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Enable pthreads [boo#1142714]
- Avoid duplicate shipping of documentation.
-------------------------------------------------------------------
Sun Jul 28 22:37:35 UTC 2019 - Simon Puchert <simonpuchert@alice.de>

View File

@ -22,7 +22,7 @@
Name: pari
%define sover 6
%define lname libpari-gmp%sover
%define lname libpari-gmp-tls%sover
Version: 2.11.2
Release: 0
Summary: Computer Algebra System for computations in Number Theory
@ -95,7 +95,8 @@ functions.
./Configure --prefix="%_prefix" \
--bindir="%_bindir" --includedir="%_includedir" \
--libdir="%_libdir" \
--sysdatadir="%_libdir" --datadir="%_datadir/%name"
--sysdatadir="%_libdir" --datadir="%_datadir/%name" \
--mt=pthread
make %{?_smp_mflags} all \
CFLAGS="%optflags -fno-strict-aliasing" \
STRIP=true
@ -107,7 +108,6 @@ make %{?_smp_mflags} all \
%postun -n %lname -p /sbin/ldconfig
%files gp
%license AUTHORS COPYING
%_bindir/*
%_datadir/%name
%_libdir/%name.cfg
@ -117,14 +117,13 @@ make %{?_smp_mflags} all \
%if 0%{?sle_version} <= 150000 && !0%{?is_opensuse}
%dir %_licensedir
%endif
%license AUTHORS COPYING
%doc CHANGES CHANGES-* NEW README
%doc examples/
%_libdir/libpari-gmp.so.%version
%_libdir/libpari-gmp.so.%sover
%license COPYING
%_libdir/libpari-gmp-tls.so.%version
%_libdir/libpari-gmp-tls.so.%sover
%files devel
%license AUTHORS COPYING
%doc examples/
%doc CHANGES CHANGES-* NEW README
%_includedir/pari/
%_libdir/libpari.so