Accepting request 128758 from devel:libraries:c_c++
- Correct Requires of libmpc-devel to be libmpc3 rather than libmpc2 (forwarded request 128755 from jengelh) OBS-URL: https://build.opensuse.org/request/show/128758 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpc?expand=0&rev=19
This commit is contained in:
commit
17d7be351e
@ -1,4 +1,4 @@
|
||||
libmpc2
|
||||
libmpc3
|
||||
mpc-devel
|
||||
requires -mpc-<targettype>
|
||||
requires "libmpc2-<targettype> = <version>"
|
||||
requires "libmpc3-<targettype> = <version>"
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e4171a3196c4062d73b0afb403b9bbf4182c34ba30699d1872b1cdcef6aeed2
|
||||
size 452168
|
3
mpc-1.0.tar.bz2
Normal file
3
mpc-1.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ad3673c060aa3ff5b911a1343527275278580983241ef7bb28f503e69b1a568b
|
||||
size 494308
|
48
mpc.changes
48
mpc.changes
@ -1,3 +1,51 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 23 12:47:08 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Correct Requires of libmpc-devel to be libmpc3 rather than libmpc2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 23 08:43:52 UTC 2012 - rguenther@suse.com
|
||||
|
||||
- Update to version 1.0.
|
||||
- Bump SONAME to libmpc3
|
||||
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
|
||||
for documentation
|
||||
- Functions renamed:
|
||||
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
|
||||
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
|
||||
- Speed-ups:
|
||||
- mpc_fma
|
||||
- Bug fixes:
|
||||
- mpc_div and mpc_norm now return a value indicating the effective
|
||||
rounding direction, as the other functions
|
||||
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
|
||||
are over- or underflows during the computation
|
||||
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
|
||||
infinite part and equals output variable is corrected
|
||||
- mpc_fr_sub: Wrong return value for imaginary part is corrected
|
||||
- Skips version 0.9:
|
||||
- New functions:
|
||||
- mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc for converting
|
||||
between mpc type variables and C variables of type double _Complex
|
||||
or long double _Complex
|
||||
- mpc_sin_cos, computing simultaneously the sine and cosine
|
||||
- Speed-ups:
|
||||
- mpc_pow_si through binary exponentiation
|
||||
- mpc_pow_z when the exponent fits in a long
|
||||
- mpc_tan through the use of mpc_sin_cos
|
||||
- Bug fixes:
|
||||
- trigonometric functions: infinite loop due to overflow for large
|
||||
arguments
|
||||
- mpc_exp: close to infinite loop for argument close to 0
|
||||
- mpc_sqrt: close to infinite loop for argument close to 1
|
||||
- mpc_add_si: replaced macro by function, since the macro evaluated the
|
||||
same expression twice
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 29 20:35:55 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections per specfile guideline suggestions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 13:59:51 UTC 2010 - rguenther@novell.com
|
||||
|
||||
|
43
mpc.spec
43
mpc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mpc (Version 0.8.2)
|
||||
# spec file for package mpc
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,18 +15,15 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%define debug_package_requires libmpc2 = %{version}-%{release}
|
||||
|
||||
Name: mpc
|
||||
BuildRequires: gmp-devel mpfr-devel
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
Version: 0.8.2
|
||||
Release: 1
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: mpfr-devel
|
||||
Version: 1.0
|
||||
Release: 0
|
||||
Summary: MPC multiple-precision complex shared library
|
||||
License: LGPL-3.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.multiprecision.org/mpc/
|
||||
Source: mpc-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
@ -39,13 +36,11 @@ built upon and follows the same principles as MPFR.
|
||||
|
||||
|
||||
|
||||
%package -n libmpc2
|
||||
License: LGPL-2.1+
|
||||
%package -n libmpc3
|
||||
Summary: MPC multiple-precision complex shared library
|
||||
Group: Development/Libraries/C and C++
|
||||
AutoReqProv: on
|
||||
|
||||
%description -n libmpc2
|
||||
%description -n libmpc3
|
||||
MPC is a C library for the arithmetic of complex numbers with
|
||||
arbitrarily high precision and correct rounding of the result. It is
|
||||
built upon and follows the same principles as MPFR.
|
||||
@ -53,11 +48,10 @@ built upon and follows the same principles as MPFR.
|
||||
|
||||
|
||||
%package devel
|
||||
License: LGPL-2.1+
|
||||
Summary: MPC multiple-precision complex library development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libmpc2 = %{version} mpfr-devel
|
||||
AutoReqProv: on
|
||||
Requires: libmpc3 = %{version}
|
||||
Requires: mpfr-devel
|
||||
PreReq: %install_info_prereq
|
||||
|
||||
%description devel
|
||||
@ -79,26 +73,23 @@ make check %{?_smp_mflags}
|
||||
%makeinstall
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libmpc.la
|
||||
|
||||
%post -n libmpc2 -p /sbin/ldconfig
|
||||
%post -n libmpc3 -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%postun -n libmpc2 -p /sbin/ldconfig
|
||||
%postun -n libmpc3 -p /sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -n libmpc2
|
||||
%files -n libmpc3
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmpc.so.2*
|
||||
%{_libdir}/libmpc.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS NEWS COPYING.LIB
|
||||
%doc AUTHORS NEWS COPYING.LESSER
|
||||
%doc %{_infodir}/mpc.info.gz
|
||||
%{_libdir}/libmpc.a
|
||||
%{_libdir}/libmpc.so
|
||||
|
Loading…
Reference in New Issue
Block a user