From 0d7cc4e8f16dc78cc7793ca5dffdd46710cafdbddb6bea42d61d3e911fd3fc93 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Apr 2022 12:10:41 +0000 Subject: [PATCH 1/4] Accepting request 969995 from home:urbic:branches:science - Update to release 2.13.4. Fixed [last column crossreferences current development release 2.14.0] * For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead of the t_POL x+'w*y [F72] * allow eulerianpol(0) (= 1) [F73] * allow polylog(0,x) (was broken when eulerianpol was introduced) [F74] * concat(t_LIST,t_LIST) was leaking memory [F75] * missing type checks in ellchangepoint (SEGV) [F76] * polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4]) returned garbage [F77] * ellheight(E,,Q) -> SEGV [F78] * besselj(80,66) -> oo loop [F79] * lfun(1, 0.0) "normalizing a series with a 0 leading term" [#2329] [F80] * (0. + O(x) == 1) returned 'true' [F81] * idealismaximal(nfinit(x),Mat(2)) -> 0 [#2333] [F84] * O(29^(-1)) == 1 was FALSE (same for -1) [F85] * Mod(0, 2*x^0) == 1 was FALSE (same for -1) [F86] * [X11] resizing a window could keep traces of previous drawing [F87] * x->x+0x1 was not displayed correctly [F88] * bnfinit(Q) was not using current precision [#2335] [F89] * polresultant(t_POL with t_RFRAC coefs,...) -> internal errors [F91] * znchardecompose(znstar(2,1),[],2) -> SEGV [#2339] [F92] * missing roots in nfroots(t_POL,) [#2345] [F94] * factorpadic: ensure leading coefs are powers of p [#2352] [F95] * nfsnf: wrong results [#2353] [F96] * rare SEGV in nfdisc. [#2356] [F97] * factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1))) -> division by 0 [F98] * internal type errors in mfsymboleval [#2360] [F99] * incorrect chargalois for trivial group [#2341] [F100] * minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1)) ->err [#2363] [F101] * factor(Mod(1,2)*x^5+a*x^3) -> div by 0 [F102] * nfgrunwaldwang: fix infinite loop [#2343] [F103] * ti=thueinit(3*x^3 + 5*x^2 - 14*x + 54,1); thue(ti,1) ->err [#2365] [F104] * algdep(t_POLMOD x) -> x.mod instead of correct result [F105] * bnrclassfield: incorrect result when fundamental units are large [F107] - Use spec-cleaner OBS-URL: https://build.opensuse.org/request/show/969995 OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=56 --- pari-2.13.3.tar.gz | 3 -- pari-2.13.3.tar.gz.asc | 16 -------- pari-2.13.4.tar.gz | 3 ++ pari-2.13.4.tar.gz.asc | 16 ++++++++ pari.changes | 49 ++++++++++++++++++++++++ pari.spec | 84 +++++++++++++++++++++--------------------- 6 files changed, 110 insertions(+), 61 deletions(-) delete mode 100644 pari-2.13.3.tar.gz delete mode 100644 pari-2.13.3.tar.gz.asc create mode 100644 pari-2.13.4.tar.gz create mode 100644 pari-2.13.4.tar.gz.asc diff --git a/pari-2.13.3.tar.gz b/pari-2.13.3.tar.gz deleted file mode 100644 index b63ab17..0000000 --- a/pari-2.13.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ccba7f1606c6854f1443637bb57ad0958d41c7f4753f8ae8459f1d64c267a1ca -size 4768312 diff --git a/pari-2.13.3.tar.gz.asc b/pari-2.13.3.tar.gz.asc deleted file mode 100644 index 0019389..0000000 --- a/pari-2.13.3.tar.gz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmFkEhsACgkQjw58K0Ui -44fzeg/9FXkr7rkXq8KBodnBjin/tKbaipcZ246cbxBIPZwBUcV+yXtR5NToSYun -onipbQGxl+T5KtG9IpQSJhd19au1dmu1xWP2d1MrspzhKwjsbp0zuhQeYy8nxVuL -fcbUOvEZWI6AZAJfSOiw5XCG5zFNhAlPOERVIscWjI1DHhcFQW1f10MA7rdK0iF7 -FlfOU8+VQ6FRh1TGOzsdFW/mppXsrRp4IOXma4T73Ut5d8jsTlcuD2z1BOgoeaDq -5ZAnsewOoqxBsw23ahdIfTr7Bl02B1RnfKjmmJnxRWikQGLv7U0aH43MsQdPf/W8 -2GX9zGwLXhB9DSNfNru/RS8zMxD9bdyYed6RvptsTmcCzJ5YrnFypHQ/a7sP4xzn -Ens23Ytc5FBsV0iQanEa7xvesgSLW1Q+jG1CmVNseYc7LeTdwa/hXhpCNEcj1Dz3 -/YEolXlmlnOmakEAi/H6awJKoXkljyS7BMK+DOSmc7h1zW/539X5X/T5icPXI419 -f9WyphcNUdzmKxOu1/EezWRSLvLWsaF+kvn8f9wp/pTas4gIVeO2t7eM/n73pZU7 -ppLFytHmT6AqrM0DHG9YF0hZnGMctfROxKOMdIptHjov3+Y3o168SrFgIhGcuwaN -lHHSl/b91FGAt/wwbPPZj+zaU2k4U+k50/Irn4ChOr7eW3FGWmk= -=V/pe ------END PGP SIGNATURE----- diff --git a/pari-2.13.4.tar.gz b/pari-2.13.4.tar.gz new file mode 100644 index 0000000..a77f39f --- /dev/null +++ b/pari-2.13.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcde9eceae1592814381c1697cdb7063567b6504201b1be47bb58920f3bce185 +size 4772735 diff --git a/pari-2.13.4.tar.gz.asc b/pari-2.13.4.tar.gz.asc new file mode 100644 index 0000000..02e187f --- /dev/null +++ b/pari-2.13.4.tar.gz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEQgKOpASi6dgKxFMUjw58K0Ui44cFAmI9mcsACgkQjw58K0Ui +44f+fxAAh5+XVI0GojmtnueB+nTA6VsChzOI9UBOUMXlWfI/phd/m61WoMlaDag/ +UTvDLZjxLh7FlLVEYwLu6Y9D4QRfj9T1UAg0dvnVa1Y0e3tG9fIrBPvJDYBgQxOE +IqH34zA5u/FvQH/NO4vUDt1OiXoTvVxdIMyWaZw72qRTfY9CLY7SvEj4Dsj6NGUX +9PtCWktDZVhAy6isO3jS9kpep4Upa5c63IFwWi1vyyNY9Y3Zn0yJfy06u1/iZCyd +MbQ/fmwNvFr4gY9AjsRbOFxiqpUWCNACrZdTKbrsRCDoPokxYhQ8SzQRiq5dyUlt +u0lyR2eW1Ue7JnLGX9xv/t3g6UtrOqciTB8rKVVOPifTeU8GWwe1FQ3ko+GfrT8s +Gn9/l/8it2BXTmyYC0HXGgsdMDuZXi27zopUOWEz1g5uO7vpDBaMU7WI9q2EOXWY +x6oNrWHgC/m2pwWOrW8UdT4Df2V4cskikWtYaEl06P2DtTUFSxDTY9pZwpQHg/OL +dflpzHW46r8cQnPgY9dz8BIKu+zsCySgQZyxMkt49/TsAP1FLyIVHj/LHJteKgAR ++KFb1cpksQXG8EVuNC7zs1FNbCOMZfDx/oFiaIUtYoRok9EJmre1nRwGiXnMrdjx +mO+ezbdoQWafpuznK3pDc9bR2VzyeXA9qe0ZQsG1HUWERTXw5Xs= +=iuIO +-----END PGP SIGNATURE----- diff --git a/pari.changes b/pari.changes index d947d98..8977b39 100644 --- a/pari.changes +++ b/pari.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Wed Apr 13 18:58:43 UTC 2022 - Anton Shvetz + +- Update to release 2.13.4. Fixed + [last column crossreferences current development release 2.14.0] + * For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead + of the t_POL x+'w*y [F72] + * allow eulerianpol(0) (= 1) [F73] + * allow polylog(0,x) (was broken when eulerianpol + was introduced) [F74] + * concat(t_LIST,t_LIST) was leaking memory [F75] + * missing type checks in ellchangepoint (SEGV) [F76] + * polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4]) + returned garbage [F77] + * ellheight(E,,Q) -> SEGV [F78] + * besselj(80,66) -> oo loop [F79] + * lfun(1, 0.0) "normalizing a series with a 0 + leading term" [#2329] [F80] + * (0. + O(x) == 1) returned 'true' [F81] + * idealismaximal(nfinit(x),Mat(2)) -> 0 [#2333] [F84] + * O(29^(-1)) == 1 was FALSE (same for -1) [F85] + * Mod(0, 2*x^0) == 1 was FALSE (same for -1) [F86] + * [X11] resizing a window could keep traces + of previous drawing [F87] + * x->x+0x1 was not displayed correctly [F88] + * bnfinit(Q) was not using current precision [#2335] [F89] + * polresultant(t_POL with t_RFRAC coefs,...) + -> internal errors [F91] + * znchardecompose(znstar(2,1),[],2) -> SEGV [#2339] [F92] + * missing roots in nfroots(t_POL,) [#2345] [F94] + * factorpadic: ensure leading coefs + are powers of p [#2352] [F95] + * nfsnf: wrong results [#2353] [F96] + * rare SEGV in nfdisc. [#2356] [F97] + * factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1))) + -> division by 0 [F98] + * internal type errors in mfsymboleval [#2360] [F99] + * incorrect chargalois for trivial group [#2341] [F100] + * minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1)) + ->err [#2363] [F101] + * factor(Mod(1,2)*x^5+a*x^3) -> div by 0 [F102] + * nfgrunwaldwang: fix infinite loop [#2343] [F103] + * ti=thueinit(3*x^3 + 5*x^2 - 14*x + 54,1); thue(ti,1) + ->err [#2365] [F104] + * algdep(t_POLMOD x) -> x.mod instead of correct result [F105] + * bnrclassfield: incorrect result when fundamental units + are large [F107] +- Use spec-cleaner + ------------------------------------------------------------------- Tue Nov 2 00:19:07 UTC 2021 - Anton Shvetz diff --git a/pari.spec b/pari.spec index 7b311d0..6d80884 100644 --- a/pari.spec +++ b/pari.spec @@ -1,7 +1,7 @@ # # spec file for package pari # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,14 @@ PARI/GP is a computer algebra system designed for computations\ in number theory (factorizations, algebraic number theory, elliptic\ curves) and other entities like matrices, polynomials,\ power series, algebraic numbers, and transcendental functions.\ -%nil +%{nil} # See # http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html # for details on the SO versioning. %global sover 7 -%global lname libpari-gmp-tls%sover +%global lname libpari-gmp-tls%{sover} Name: pari -Version: 2.13.3 +Version: 2.13.4 Release: 0 Summary: Computer Algebra System for computations in Number Theory License: GPL-2.0-only @@ -36,11 +36,11 @@ Group: Productivity/Scientific/Math URL: https://pari.math.u-bordeaux.fr #Git-Clone: https://pari.math.u-bordeaux.fr/git/pari.git #Git-Web: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi -Source0: %url/pub/pari/unix/pari-%version.tar.gz -Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc +Source0: %{url}/pub/pari/unix/pari-%{version}.tar.gz +Source2: %{url}/pub/pari/unix/pari-%{version}.tar.gz.asc BuildRequires: fltk-devel BuildRequires: gmp-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: texlive-latex BuildRequires: texlive-luatex @@ -51,14 +51,14 @@ BuildRequires: xorg-x11-proto-devel BuildRequires: pkgconfig(x11) %description -%desc +%{desc} %package gp Summary: Frontend to the PARI Computer Algebra System Group: Productivity/Scientific/Math %description gp -%desc +%{desc} %package doc Summary: Documentation for the PARI Computer Algebra System @@ -66,28 +66,28 @@ Group: Documentation/Other BuildArch: noarch %description doc -%desc +%{desc} This package contains the documentation and examples for the PARI Computer Algebra System. -%package -n %lname +%package -n %{lname} Summary: Shared library for the PARI Computer Algebra System # This is used by the data packages to avoid having a too-old version of libpari: Group: System/Libraries -Provides: libpari-gmp = %version +Provides: libpari-gmp = %{version} -%description -n %lname -%desc +%description -n %{lname} +%{desc} This package contains shared library for the PARI CAS. %package devel Summary: Development files for the PARI Computer Algebra System Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} %description devel -%desc +%{desc} This package contains development files for the PARI CAS. @@ -102,15 +102,15 @@ sed -i -e 's/^\(doc all:\) .*/\1/' config/DOC_Make.SH %build ./Configure \ - --prefix="%_prefix" \ - --bindir="%_bindir" \ - --includedir="%_includedir" \ - --libdir="%_libdir" \ - --sysdatadir="%_libdir" \ - --datadir="%_datadir/%name" \ + --prefix="%{_prefix}" \ + --bindir="%{_bindir}" \ + --includedir="%{_includedir}" \ + --libdir="%{_libdir}" \ + --sysdatadir="%{_libdir}" \ + --datadir="%{_datadir}/%{name}" \ --mt=pthread %make_build \ - CFLAGS="%optflags -fno-strict-aliasing" \ + CFLAGS="%{optflags} -fno-strict-aliasing" \ STRIP=true \ all %make_build \ @@ -120,35 +120,35 @@ sed -i -e 's/^\(doc all:\) .*/\1/' config/DOC_Make.SH %install %make_install -install -dm0755 %buildroot%_sysconfdir -install -m0644 misc/gprc.dft %buildroot%_sysconfdir/gprc +install -dm0755 %{buildroot}%{_sysconfdir} +install -m0644 misc/gprc.dft %{buildroot}%{_sysconfdir}/gprc -install -dm0755 %buildroot%_defaultdocdir/%name -install -Dm0644 doc/*.pdf %buildroot%_defaultdocdir/%name -rm -rf %buildroot%_datadir/%name/doc -mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name +install -dm0755 %{buildroot}%{_defaultdocdir}/%{name} +install -Dm0644 doc/*.pdf %{buildroot}%{_defaultdocdir}/%{name} +rm -rf %{buildroot}%{_datadir}/%{name}/doc +mv %{buildroot}%{_datadir}/%{name}/examples %{buildroot}%{_defaultdocdir}/%{name} -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig %files gp %doc AUTHORS CHANGES* README* NEW -%config %_sysconfdir/gprc -%_bindir/* -%_datadir/%name -%_libdir/%name.cfg -%_mandir/*/*.1* +%config %{_sysconfdir}/gprc +%{_bindir}/* +%{_datadir}/%{name} +%{_libdir}/%{name}.cfg +%{_mandir}/*/*.1%{?ext_man} %files doc -%_defaultdocdir/%name/ +%{_defaultdocdir}/%{name}/ -%files -n %lname +%files -n %{lname} %license COPYING -%_libdir/libpari-gmp-tls.so.%version -%_libdir/libpari-gmp-tls.so.%sover +%{_libdir}/libpari-gmp-tls.so.%{version} +%{_libdir}/libpari-gmp-tls.so.%{sover} %files devel -%_includedir/%name/ -%_libdir/libpari.so +%{_includedir}/%{name}/ +%{_libdir}/libpari.so %changelog From 3ac81fba529d20159c5068eaf9f1691ff9938ba70e6f5a9bdc3ecba0a9841957 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Apr 2022 12:13:03 +0000 Subject: [PATCH 2/4] trim changelog, restore style OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=57 --- pari.changes | 81 ++++++++++++++++++++++++---------------------------- pari.spec | 78 +++++++++++++++++++++++++------------------------- 2 files changed, 76 insertions(+), 83 deletions(-) diff --git a/pari.changes b/pari.changes index 8977b39..87c620c 100644 --- a/pari.changes +++ b/pari.changes @@ -2,50 +2,43 @@ Wed Apr 13 18:58:43 UTC 2022 - Anton Shvetz - Update to release 2.13.4. Fixed - [last column crossreferences current development release 2.14.0] - * For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead - of the t_POL x+'w*y [F72] - * allow eulerianpol(0) (= 1) [F73] - * allow polylog(0,x) (was broken when eulerianpol - was introduced) [F74] - * concat(t_LIST,t_LIST) was leaking memory [F75] - * missing type checks in ellchangepoint (SEGV) [F76] - * polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4]) - returned garbage [F77] - * ellheight(E,,Q) -> SEGV [F78] - * besselj(80,66) -> oo loop [F79] - * lfun(1, 0.0) "normalizing a series with a 0 - leading term" [#2329] [F80] - * (0. + O(x) == 1) returned 'true' [F81] - * idealismaximal(nfinit(x),Mat(2)) -> 0 [#2333] [F84] - * O(29^(-1)) == 1 was FALSE (same for -1) [F85] - * Mod(0, 2*x^0) == 1 was FALSE (same for -1) [F86] - * [X11] resizing a window could keep traces - of previous drawing [F87] - * x->x+0x1 was not displayed correctly [F88] - * bnfinit(Q) was not using current precision [#2335] [F89] - * polresultant(t_POL with t_RFRAC coefs,...) - -> internal errors [F91] - * znchardecompose(znstar(2,1),[],2) -> SEGV [#2339] [F92] - * missing roots in nfroots(t_POL,) [#2345] [F94] - * factorpadic: ensure leading coefs - are powers of p [#2352] [F95] - * nfsnf: wrong results [#2353] [F96] - * rare SEGV in nfdisc. [#2356] [F97] - * factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1))) - -> division by 0 [F98] - * internal type errors in mfsymboleval [#2360] [F99] - * incorrect chargalois for trivial group [#2341] [F100] - * minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1)) - ->err [#2363] [F101] - * factor(Mod(1,2)*x^5+a*x^3) -> div by 0 [F102] - * nfgrunwaldwang: fix infinite loop [#2343] [F103] - * ti=thueinit(3*x^3 + 5*x^2 - 14*x + 54,1); thue(ti,1) - ->err [#2365] [F104] - * algdep(t_POLMOD x) -> x.mod instead of correct result [F105] - * bnrclassfield: incorrect result when fundamental units - are large [F107] -- Use spec-cleaner + * For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead + of the t_POL x+'w*y + * allow eulerianpol(0) (= 1) + * allow polylog(0,x) (was broken when eulerianpol + was introduced) + * concat(t_LIST,t_LIST) was leaking memory + * missing type checks in ellchangepoint (led to a SIGSEGV) + * polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4]) + returned garbage + * ellheight(E,,Q) led to a SIGSEGV + * besselj(80,66) led to an infinite loop + * lfun(1, 0.0) "normalizing a series with a 0 leading term" + * (0. + O(x) == 1) returned 'true' + * idealismaximal(nfinit(x),Mat(2)) -> 0 + * O(29^(-1)) == 1 was FALSE (same for -1) + * Mod(0, 2*x^0) == 1 was FALSE (same for -1) + * [X11] resizing a window could keep traces + of previous drawing + * x->x+0x1 was not displayed correctly + * bnfinit(Q) was not using current precision + * polresultant(t_POL with t_RFRAC coefs,...) led to internal + errors + * znchardecompose(znstar(2,1),[],2) led to SIGSEGV + * missing roots in nfroots(t_POL,) + * factorpadic: ensure leading coefs are powers of p + * nfsnf returned wrong results + * rare SEGV occurred in nfdisc + * factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1))) + led to a division by 0 + * minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1)) + led to an error + * factor(Mod(1,2)*x^5+a*x^3) led to division by 0 + * nfgrunwaldwang: fix infinite loop + * ti=thueinit(3*x^3 + 5*x^2 - 14*x + 54,1); thue(ti,1) + led to an error + * bnrclassfield led to incorrect result when fundamental + units are large ------------------------------------------------------------------- Tue Nov 2 00:19:07 UTC 2021 - Anton Shvetz diff --git a/pari.spec b/pari.spec index 6d80884..0c44236 100644 --- a/pari.spec +++ b/pari.spec @@ -21,12 +21,12 @@ PARI/GP is a computer algebra system designed for computations\ in number theory (factorizations, algebraic number theory, elliptic\ curves) and other entities like matrices, polynomials,\ power series, algebraic numbers, and transcendental functions.\ -%{nil} +%nil # See # http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html # for details on the SO versioning. %global sover 7 -%global lname libpari-gmp-tls%{sover} +%global lname libpari-gmp-tls%sover Name: pari Version: 2.13.4 Release: 0 @@ -36,8 +36,8 @@ Group: Productivity/Scientific/Math URL: https://pari.math.u-bordeaux.fr #Git-Clone: https://pari.math.u-bordeaux.fr/git/pari.git #Git-Web: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi -Source0: %{url}/pub/pari/unix/pari-%{version}.tar.gz -Source2: %{url}/pub/pari/unix/pari-%{version}.tar.gz.asc +Source0: %url/pub/pari/unix/pari-%version.tar.gz +Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc BuildRequires: fltk-devel BuildRequires: gmp-devel BuildRequires: pkgconfig @@ -51,14 +51,14 @@ BuildRequires: xorg-x11-proto-devel BuildRequires: pkgconfig(x11) %description -%{desc} +%desc %package gp Summary: Frontend to the PARI Computer Algebra System Group: Productivity/Scientific/Math %description gp -%{desc} +%desc %package doc Summary: Documentation for the PARI Computer Algebra System @@ -66,28 +66,28 @@ Group: Documentation/Other BuildArch: noarch %description doc -%{desc} +%desc This package contains the documentation and examples for the PARI Computer Algebra System. -%package -n %{lname} +%package -n %lname Summary: Shared library for the PARI Computer Algebra System # This is used by the data packages to avoid having a too-old version of libpari: Group: System/Libraries -Provides: libpari-gmp = %{version} +Provides: libpari-gmp = %version -%description -n %{lname} -%{desc} +%description -n %lname +%desc This package contains shared library for the PARI CAS. %package devel Summary: Development files for the PARI Computer Algebra System Group: Development/Libraries/C and C++ -Requires: %{lname} = %{version} +Requires: %lname = %version %description devel -%{desc} +%desc This package contains development files for the PARI CAS. @@ -102,15 +102,15 @@ sed -i -e 's/^\(doc all:\) .*/\1/' config/DOC_Make.SH %build ./Configure \ - --prefix="%{_prefix}" \ - --bindir="%{_bindir}" \ - --includedir="%{_includedir}" \ - --libdir="%{_libdir}" \ - --sysdatadir="%{_libdir}" \ - --datadir="%{_datadir}/%{name}" \ + --prefix="%_prefix" \ + --bindir="%_bindir" \ + --includedir="%_includedir" \ + --libdir="%_libdir" \ + --sysdatadir="%_libdir" \ + --datadir="%_datadir/%name" \ --mt=pthread %make_build \ - CFLAGS="%{optflags} -fno-strict-aliasing" \ + CFLAGS="%optflags -fno-strict-aliasing" \ STRIP=true \ all %make_build \ @@ -120,35 +120,35 @@ sed -i -e 's/^\(doc all:\) .*/\1/' config/DOC_Make.SH %install %make_install -install -dm0755 %{buildroot}%{_sysconfdir} -install -m0644 misc/gprc.dft %{buildroot}%{_sysconfdir}/gprc +install -dm0755 %buildroot%_sysconfdir +install -m0644 misc/gprc.dft %buildroot%_sysconfdir/gprc -install -dm0755 %{buildroot}%{_defaultdocdir}/%{name} -install -Dm0644 doc/*.pdf %{buildroot}%{_defaultdocdir}/%{name} -rm -rf %{buildroot}%{_datadir}/%{name}/doc -mv %{buildroot}%{_datadir}/%{name}/examples %{buildroot}%{_defaultdocdir}/%{name} +install -dm0755 %buildroot%_defaultdocdir/%name +install -Dm0644 doc/*.pdf %buildroot%_defaultdocdir/%name +rm -rf %buildroot%_datadir/%name/doc +mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files gp %doc AUTHORS CHANGES* README* NEW -%config %{_sysconfdir}/gprc -%{_bindir}/* -%{_datadir}/%{name} -%{_libdir}/%{name}.cfg -%{_mandir}/*/*.1%{?ext_man} +%config %_sysconfdir/gprc +%_bindir/* +%_datadir/%name +%_libdir/%name.cfg +%_mandir/*/*.1%{?ext_man} %files doc -%{_defaultdocdir}/%{name}/ +%_defaultdocdir/%name/ -%files -n %{lname} +%files -n %lname %license COPYING -%{_libdir}/libpari-gmp-tls.so.%{version} -%{_libdir}/libpari-gmp-tls.so.%{sover} +%_libdir/libpari-gmp-tls.so.%version +%_libdir/libpari-gmp-tls.so.%sover %files devel -%{_includedir}/%{name}/ -%{_libdir}/libpari.so +%_includedir/%name/ +%_libdir/libpari.so %changelog From faa2d25b9670f3c51415bf1ec367bc64d80997bd211a47e37706ad89f1856632 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Apr 2022 12:13:23 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=58 --- pari.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pari.spec b/pari.spec index 0c44236..84464ff 100644 --- a/pari.spec +++ b/pari.spec @@ -40,7 +40,7 @@ Source0: %url/pub/pari/unix/pari-%version.tar.gz Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc BuildRequires: fltk-devel BuildRequires: gmp-devel -BuildRequires: pkgconfig +BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: texlive-latex BuildRequires: texlive-luatex From 9aef50f23bf44c330b1cc5602f94b90d25df41d698fd1df3e9360789b6a19bc6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Apr 2022 13:34:33 +0000 Subject: [PATCH 4/4] - Update to release 2.13.4 OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=59 --- pari.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pari.changes b/pari.changes index 87c620c..1fed7b6 100644 --- a/pari.changes +++ b/pari.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Apr 13 18:58:43 UTC 2022 - Anton Shvetz -- Update to release 2.13.4. Fixed +- Update to release 2.13.4 * For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead of the t_POL x+'w*y * allow eulerianpol(0) (= 1)