SHA256
1
0
forked from pool/pari

trim changelog, restore style

OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=57
This commit is contained in:
Jan Engelhardt 2022-04-14 12:13:03 +00:00 committed by Git OBS Bridge
parent 0d7cc4e8f1
commit 3ac81fba52
2 changed files with 76 additions and 83 deletions

View File

@ -2,50 +2,43 @@
Wed Apr 13 18:58:43 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com> Wed Apr 13 18:58:43 UTC 2022 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to release 2.13.4. Fixed - 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
* For z=x+wy a t_QUAD, z.pol returned the modulus z.mod instead of the t_POL x+'w*y
of the t_POL x+'w*y [F72] * allow eulerianpol(0) (= 1)
* allow eulerianpol(0) (= 1) [F73] * allow polylog(0,x) (was broken when eulerianpol
* allow polylog(0,x) (was broken when eulerianpol was introduced)
was introduced) [F74] * concat(t_LIST,t_LIST) was leaking memory
* concat(t_LIST,t_LIST) was leaking memory [F75] * missing type checks in ellchangepoint (led to a SIGSEGV)
* missing type checks in ellchangepoint (SEGV) [F76] * polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4])
* polsturm(-25*x^4+2*x^3+99*x^2-44*x-132,[-oo,-4]) returned garbage
returned garbage [F77] * ellheight(E,,Q) led to a SIGSEGV
* ellheight(E,,Q) -> SEGV [F78] * besselj(80,66) led to an infinite loop
* besselj(80,66) -> oo loop [F79] * lfun(1, 0.0) "normalizing a series with a 0 leading term"
* lfun(1, 0.0) "normalizing a series with a 0 * (0. + O(x) == 1) returned 'true'
leading term" [#2329] [F80] * idealismaximal(nfinit(x),Mat(2)) -> 0
* (0. + O(x) == 1) returned 'true' [F81] * O(29^(-1)) == 1 was FALSE (same for -1)
* idealismaximal(nfinit(x),Mat(2)) -> 0 [#2333] [F84] * Mod(0, 2*x^0) == 1 was FALSE (same for -1)
* O(29^(-1)) == 1 was FALSE (same for -1) [F85] * [X11] resizing a window could keep traces
* Mod(0, 2*x^0) == 1 was FALSE (same for -1) [F86] of previous drawing
* [X11] resizing a window could keep traces * x->x+0x1 was not displayed correctly
of previous drawing [F87] * bnfinit(Q) was not using current precision
* x->x+0x1 was not displayed correctly [F88] * polresultant(t_POL with t_RFRAC coefs,...) led to internal
* bnfinit(Q) was not using current precision [#2335] [F89] errors
* polresultant(t_POL with t_RFRAC coefs,...) * znchardecompose(znstar(2,1),[],2) led to SIGSEGV
-> internal errors [F91] * missing roots in nfroots(t_POL,)
* znchardecompose(znstar(2,1),[],2) -> SEGV [#2339] [F92] * factorpadic: ensure leading coefs are powers of p
* missing roots in nfroots(t_POL,) [#2345] [F94] * nfsnf returned wrong results
* factorpadic: ensure leading coefs * rare SEGV occurred in nfdisc
are powers of p [#2352] [F95] * factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1)))
* nfsnf: wrong results [#2353] [F96] led to a division by 0
* rare SEGV in nfdisc. [#2356] [F97] * minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1))
* factor((Mod(1,2)*((t^2+1)*x^4+(t^4+1)*x^2+1))) led to an error
-> division by 0 [F98] * factor(Mod(1,2)*x^5+a*x^3) led to division by 0
* internal type errors in mfsymboleval [#2360] [F99] * nfgrunwaldwang: fix infinite loop
* incorrect chargalois for trivial group [#2341] [F100] * ti=thueinit(3*x^3 + 5*x^2 - 14*x + 54,1); thue(ti,1)
* minpoly(Mod(1/(x-(t+1))*Mod(1,2),(t+1)*x^2+t*x+1)) led to an error
->err [#2363] [F101] * bnrclassfield led to incorrect result when fundamental
* factor(Mod(1,2)*x^5+a*x^3) -> div by 0 [F102] units are large
* 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 <shvetz.anton@gmail.com> Tue Nov 2 00:19:07 UTC 2021 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@ -21,12 +21,12 @@ PARI/GP is a computer algebra system designed for computations\
in number theory (factorizations, algebraic number theory, elliptic\ in number theory (factorizations, algebraic number theory, elliptic\
curves) and other entities like matrices, polynomials,\ curves) and other entities like matrices, polynomials,\
power series, algebraic numbers, and transcendental functions.\ power series, algebraic numbers, and transcendental functions.\
%{nil} %nil
# See # See
# http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html # http://pari.math.u-bordeaux.fr/archives/pari-dev-1211/msg00006.html
# for details on the SO versioning. # for details on the SO versioning.
%global sover 7 %global sover 7
%global lname libpari-gmp-tls%{sover} %global lname libpari-gmp-tls%sover
Name: pari Name: pari
Version: 2.13.4 Version: 2.13.4
Release: 0 Release: 0
@ -36,8 +36,8 @@ Group: Productivity/Scientific/Math
URL: https://pari.math.u-bordeaux.fr URL: https://pari.math.u-bordeaux.fr
#Git-Clone: https://pari.math.u-bordeaux.fr/git/pari.git #Git-Clone: https://pari.math.u-bordeaux.fr/git/pari.git
#Git-Web: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi #Git-Web: https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi
Source0: %{url}/pub/pari/unix/pari-%{version}.tar.gz Source0: %url/pub/pari/unix/pari-%version.tar.gz
Source2: %{url}/pub/pari/unix/pari-%{version}.tar.gz.asc Source2: %url/pub/pari/unix/pari-%version.tar.gz.asc
BuildRequires: fltk-devel BuildRequires: fltk-devel
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -51,14 +51,14 @@ BuildRequires: xorg-x11-proto-devel
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
%description %description
%{desc} %desc
%package gp %package gp
Summary: Frontend to the PARI Computer Algebra System Summary: Frontend to the PARI Computer Algebra System
Group: Productivity/Scientific/Math Group: Productivity/Scientific/Math
%description gp %description gp
%{desc} %desc
%package doc %package doc
Summary: Documentation for the PARI Computer Algebra System Summary: Documentation for the PARI Computer Algebra System
@ -66,28 +66,28 @@ Group: Documentation/Other
BuildArch: noarch BuildArch: noarch
%description doc %description doc
%{desc} %desc
This package contains the documentation and examples for the PARI Computer Algebra System. 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 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: # This is used by the data packages to avoid having a too-old version of libpari:
Group: System/Libraries Group: System/Libraries
Provides: libpari-gmp = %{version} Provides: libpari-gmp = %version
%description -n %{lname} %description -n %lname
%{desc} %desc
This package contains shared library for the PARI CAS. This package contains shared library for the PARI CAS.
%package devel %package devel
Summary: Development files for the PARI Computer Algebra System Summary: Development files for the PARI Computer Algebra System
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %lname = %version
%description devel %description devel
%{desc} %desc
This package contains development files for the PARI CAS. 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 %build
./Configure \ ./Configure \
--prefix="%{_prefix}" \ --prefix="%_prefix" \
--bindir="%{_bindir}" \ --bindir="%_bindir" \
--includedir="%{_includedir}" \ --includedir="%_includedir" \
--libdir="%{_libdir}" \ --libdir="%_libdir" \
--sysdatadir="%{_libdir}" \ --sysdatadir="%_libdir" \
--datadir="%{_datadir}/%{name}" \ --datadir="%_datadir/%name" \
--mt=pthread --mt=pthread
%make_build \ %make_build \
CFLAGS="%{optflags} -fno-strict-aliasing" \ CFLAGS="%optflags -fno-strict-aliasing" \
STRIP=true \ STRIP=true \
all all
%make_build \ %make_build \
@ -120,35 +120,35 @@ sed -i -e 's/^\(doc all:\) .*/\1/' config/DOC_Make.SH
%install %install
%make_install %make_install
install -dm0755 %{buildroot}%{_sysconfdir} install -dm0755 %buildroot%_sysconfdir
install -m0644 misc/gprc.dft %{buildroot}%{_sysconfdir}/gprc install -m0644 misc/gprc.dft %buildroot%_sysconfdir/gprc
install -dm0755 %{buildroot}%{_defaultdocdir}/%{name} install -dm0755 %buildroot%_defaultdocdir/%name
install -Dm0644 doc/*.pdf %{buildroot}%{_defaultdocdir}/%{name} install -Dm0644 doc/*.pdf %buildroot%_defaultdocdir/%name
rm -rf %{buildroot}%{_datadir}/%{name}/doc rm -rf %buildroot%_datadir/%name/doc
mv %{buildroot}%{_datadir}/%{name}/examples %{buildroot}%{_defaultdocdir}/%{name} mv %buildroot%_datadir/%name/examples %buildroot%_defaultdocdir/%name
%post -n %{lname} -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%files gp %files gp
%doc AUTHORS CHANGES* README* NEW %doc AUTHORS CHANGES* README* NEW
%config %{_sysconfdir}/gprc %config %_sysconfdir/gprc
%{_bindir}/* %_bindir/*
%{_datadir}/%{name} %_datadir/%name
%{_libdir}/%{name}.cfg %_libdir/%name.cfg
%{_mandir}/*/*.1%{?ext_man} %_mandir/*/*.1%{?ext_man}
%files doc %files doc
%{_defaultdocdir}/%{name}/ %_defaultdocdir/%name/
%files -n %{lname} %files -n %lname
%license COPYING %license COPYING
%{_libdir}/libpari-gmp-tls.so.%{version} %_libdir/libpari-gmp-tls.so.%version
%{_libdir}/libpari-gmp-tls.so.%{sover} %_libdir/libpari-gmp-tls.so.%sover
%files devel %files devel
%{_includedir}/%{name}/ %_includedir/%name/
%{_libdir}/libpari.so %_libdir/libpari.so
%changelog %changelog