- Update to version 3.0.1.

* Minor bugfixes.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/mpfr?expand=0&rev=14
This commit is contained in:
Richard Biener 2011-04-08 13:59:32 +00:00 committed by Git OBS Bridge
parent e839fa372a
commit e3146e1343
5 changed files with 42 additions and 20 deletions

View File

@ -1,7 +1,7 @@
targettype x86 package libmpfr1 targettype x86 package libmpfr4
obsoletes "mpfr-<targettype>" obsoletes "mpfr-<targettype>"
libmpfr1 libmpfr4
obsoletes "mpfr-<targettype>" obsoletes "mpfr-<targettype>"
mpfr-devel mpfr-devel
requires -mpfr-<targettype> requires -mpfr-<targettype>
requires "libmpfr1-<targettype> = <version>" requires "libmpfr4-<targettype> = <version>"

View File

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

3
mpfr-3.0.1.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Apr 8 13:53:10 UTC 2011 - rguenther@novell.com
- Update to version 3.0.1.
* Minor bugfixes.
-------------------------------------------------------------------
Mon Sep 6 13:34:55 UTC 2010 - rguenther@novell.com
- Update to version 3.0.0.
* Bump SO version to 4.
-------------------------------------------------------------------
Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de
- use %_smp_mflags
-------------------------------------------------------------------
Mon May 17 06:16:32 UTC 2010 - adrian@suse.de
- PA-Risc is not threadsafe just as sparc
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 11 17:13:00 CET 2009 - jengelh@medozas.de Fri Dec 11 17:13:00 CET 2009 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package mpfr (Version 2.4.2) # spec file for package mpfr (Version 3.0.1)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -17,15 +17,15 @@
# norootforbuild # norootforbuild
%define debug_package_requires libmpfr1 = %{version}-%{release} %define debug_package_requires libmpfr4 = %{version}-%{release}
Name: mpfr Name: mpfr
BuildRequires: gmp-devel BuildRequires: gmp-devel
License: LGPLv2.1+ License: LGPLv2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
AutoReqProv: on AutoReqProv: on
Version: 2.4.2 Version: 3.0.1
Release: 2 Release: 1
Summary: The MPFR multiple-precision floating-point library Summary: The MPFR multiple-precision floating-point library
Url: http://www.mpfr.org/ Url: http://www.mpfr.org/
Source: mpfr-%{version}.tar.bz2 Source: mpfr-%{version}.tar.bz2
@ -52,7 +52,7 @@ Authors:
Vincent Lefèvre Vincent Lefèvre
Patrick Pélissier Patrick Pélissier
%package -n libmpfr1 %package -n libmpfr4
License: LGPLv2.1+ License: LGPLv2.1+
Summary: MPFR multiple-precision floating-point computation shared library Summary: MPFR multiple-precision floating-point computation shared library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
@ -61,7 +61,7 @@ AutoReqProv: on
Provides: mpfr = 2.3.0 Provides: mpfr = 2.3.0
Obsoletes: mpfr < 2.3.0 Obsoletes: mpfr < 2.3.0
%description -n libmpfr1 %description -n libmpfr4
The MPFR library is a C library for multiple-precision floating-point The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding). It is computations with exact rounding (also called correct rounding). It is
based on the GMP multiple-precision library. based on the GMP multiple-precision library.
@ -79,7 +79,7 @@ Authors:
License: LGPLv2.1+ License: LGPLv2.1+
Summary: MPFR multiple-precision floating-point library development files Summary: MPFR multiple-precision floating-point library development files
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libmpfr1 = %{version} gmp-devel Requires: libmpfr4 = %{version} gmp-devel
Provides: gmp-devel:/usr/lib/libmpfr.a Provides: gmp-devel:/usr/lib/libmpfr.a
AutoReqProv: on AutoReqProv: on
PreReq: %install_info_prereq PreReq: %install_info_prereq
@ -102,28 +102,28 @@ Authors:
%build %build
%configure \ %configure \
%if 0%{suse_version} > 1000 %if 0%{suse_version} > 1000
%ifnarch %sparc %ifnarch %sparc hppa
--enable-thread-safe \ --enable-thread-safe \
%endif %endif
%endif %endif
--enable-shared \ --enable-shared \
--docdir=%{_docdir}/mpfr --docdir=%{_docdir}/mpfr
make %{?jobs:-j%jobs} make %{?_smp_mflags}
%check %check
make check %{?jobs:-j%jobs} make check %{?_smp_mflags}
%install %install
%makeinstall %makeinstall
rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
%post -n libmpfr1 %post -n libmpfr4
%run_ldconfig %run_ldconfig
%post devel %post devel
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%postun -n libmpfr1 %postun -n libmpfr4
%run_ldconfig %run_ldconfig
%postun devel %postun devel
@ -132,9 +132,9 @@ rm ${RPM_BUILD_ROOT}%{_libdir}/lib*.la
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -n libmpfr1 %files -n libmpfr4
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmpfr.so.1* %{_libdir}/libmpfr.so.4*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)