- Enable pthreads [boo#1142714]
OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=40
This commit is contained in:
parent
19b4e18e41
commit
de4ea3d44f
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 23 13:49:16 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Enable pthreads [boo#1142714]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 28 22:37:35 UTC 2019 - Simon Puchert <simonpuchert@alice.de>
|
||||
|
||||
|
17
pari.spec
17
pari.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user