SHA256
1
0
forked from pool/pari

- Enable pthreads [boo#1142714]

OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=40
This commit is contained in:
Jan Engelhardt 2019-08-23 13:49:36 +00:00 committed by Git OBS Bridge
parent 19b4e18e41
commit de4ea3d44f
2 changed files with 13 additions and 9 deletions

View File

@ -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> Sun Jul 28 22:37:35 UTC 2019 - Simon Puchert <simonpuchert@alice.de>

View File

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