Accepting request 844997 from devel:libraries:c_c++

mpc 1.2.1 (forwarded request 844916 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/844997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpc?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2020-11-03 14:15:08 +00:00 committed by Git OBS Bridge
commit ba4c7d889b
6 changed files with 43 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e90f2d99553a9c19911abdb4305bf8217106a957e3994436428572c8dfe8fda6
size 840711

Binary file not shown.

3
mpc-1.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459
size 838731

7
mpc-1.2.1.tar.gz.sig Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
iIwEABEIADQWIQStF6Ie+K7Y8cwC29n31cm/dlxh4wUCX5KefRYcYW5kcmVhcy5l
bmdlQGlucmlhLmZyAAoJEPfVyb92XGHjqAEA/RQXzaWvYWOI5LuQpMnNfg/vjwL2
tCCcHlQXRHyCqxzaAP47BhDZajH2AGG4yeMPYQEc1yPPcjS+1kgA/Z5c5gIjiA==
=Tns3
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Oct 29 18:30:03 UTC 2020 - Andreas Stieger <andreas.stieger@gmx.de>
- 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 <andreas.stieger@gmx.de>
- 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 <rguenther@suse.com>

View File

@ -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