diff --git a/mpc-1.2.0.tar.gz b/mpc-1.2.0.tar.gz deleted file mode 100644 index 5a1620d..0000000 --- a/mpc-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e90f2d99553a9c19911abdb4305bf8217106a957e3994436428572c8dfe8fda6 -size 840711 diff --git a/mpc-1.2.0.tar.gz.sig b/mpc-1.2.0.tar.gz.sig deleted file mode 100644 index 258a4c5..0000000 Binary files a/mpc-1.2.0.tar.gz.sig and /dev/null differ diff --git a/mpc-1.2.1.tar.gz b/mpc-1.2.1.tar.gz new file mode 100644 index 0000000..2221273 --- /dev/null +++ b/mpc-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 +size 838731 diff --git a/mpc-1.2.1.tar.gz.sig b/mpc-1.2.1.tar.gz.sig new file mode 100644 index 0000000..dc79961 --- /dev/null +++ b/mpc-1.2.1.tar.gz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iIwEABEIADQWIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCX5KefRYcYW5kcmVhcy5l +bmdlQGlucmlhLmZyAAoJEPfVyb92XGHjqAEA/RQXzaWvYWOI5LuQpMnNfg/vjwL2 +tCCcHlQXRHyCqxzaAP47BhDZajH2AGG4yeMPYQEc1yPPcjS+1kgA/Z5c5gIjiA== +=Tns3 +-----END PGP SIGNATURE----- diff --git a/mpc.changes b/mpc.changes index dc48f2b..7b9310c 100644 --- a/mpc.changes +++ b/mpc.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Oct 29 18:30:03 UTC 2020 - Andreas Stieger + +- mpc 1.2.1: + * Fix an incompatibility problem with GMP 6.0 and before + * Fix an intermediate overflow in asin + +------------------------------------------------------------------- +Mon Oct 26 08:44:47 UTC 2020 - Andreas Stieger + +- express build dependencies explicitly to match the versions + required by configue, so that the OBS scheduler is aware of them +- move texinfo requirements to -devel package where they are + are actually used +- package license in every subpackage and mark as license +- run spec-cleaner + ------------------------------------------------------------------- Mon Aug 24 08:07:46 UTC 2020 - Richard Biener diff --git a/mpc.spec b/mpc.spec index e1bbcec..18b0251 100644 --- a/mpc.spec +++ b/mpc.spec @@ -17,7 +17,7 @@ Name: mpc -Version: 1.2.0 +Version: 1.2.1 Release: 0 Summary: MPC multiple-precision complex shared library License: LGPL-3.0-or-later @@ -27,11 +27,9 @@ Source0: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/mpc/mpc-%{version}.tar.gz.sig Source2: %{name}.keyring Source3: baselibs.conf -BuildRequires: gmp-devel -BuildRequires: mpfr-devel -Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gmp) >= 5.0.0 +BuildRequires: pkgconfig(mpfr) >= 4.1.0 %description MPC is a C library for the arithmetic of complex numbers with @@ -51,9 +49,10 @@ built upon and follows the same principles as MPFR. Summary: MPC multiple-precision complex library development files Group: Development/Libraries/C and C++ Requires: libmpc3 = %{version} -Requires: mpfr-devel -# FIXME: use proper Requires(pre/post/preun/...) -PreReq: %{install_info_prereq} +Requires: pkgconfig(gmp) >= 5.0.0 +Requires: pkgconfig(mpfr) >= 4.1.0 +Requires(post): %{install_info_prereq} +Requires(preun): %{install_info_prereq} %description devel MPC multiple-precision complex library development files. @@ -64,33 +63,33 @@ MPC multiple-precision complex library development files. %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects %configure -make %{?_smp_mflags} +%make_build %check -make check %{?_smp_mflags} +%make_build check %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm %{buildroot}%{_libdir}/libmpc.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n libmpc3 -p /sbin/ldconfig - %post devel %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun -n libmpc3 -p /sbin/ldconfig - %preun devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files -n libmpc3 %defattr(-,root,root) +%license COPYING.LESSER %{_libdir}/libmpc.so.3* %files devel %defattr(-,root,root) -%doc AUTHORS NEWS COPYING.LESSER -%{_infodir}/mpc.info.gz +%license COPYING.LESSER +%doc AUTHORS NEWS +%{_infodir}/mpc.info%{?ext_info} %{_libdir}/libmpc.a %{_libdir}/libmpc.so %{_includedir}/mpc.h