From de4ea3d44feae960013a30966119d9b9c96cfd55dee77654544c9fdd881beaaf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Aug 2019 13:49:36 +0000 Subject: [PATCH] - Enable pthreads [boo#1142714] OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=40 --- pari.changes | 5 +++++ pari.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/pari.changes b/pari.changes index cefbf7d..406447f 100644 --- a/pari.changes +++ b/pari.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 23 13:49:16 UTC 2019 - Jan Engelhardt + +- Enable pthreads [boo#1142714] + ------------------------------------------------------------------- Sun Jul 28 22:37:35 UTC 2019 - Simon Puchert diff --git a/pari.spec b/pari.spec index 764129b..5ebf328 100644 --- a/pari.spec +++ b/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