From 5a0da57f619d14a2603582263f76426cab279403543ef05b04ea2d3cea903d14 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 25 Aug 2019 20:06:10 +0000 Subject: [PATCH] - Update to new upstream release 1.5.4 OBS-URL: https://build.opensuse.org/package/show/science/mpfi?expand=0&rev=5 --- mpfi-1.5.3.tar.bz2 | 3 --- mpfi-1.5.4.tgz | 3 +++ mpfi.changes | 8 ++++++++ mpfi.spec | 41 +++++++++++++++++++++-------------------- 4 files changed, 32 insertions(+), 23 deletions(-) delete mode 100644 mpfi-1.5.3.tar.bz2 create mode 100644 mpfi-1.5.4.tgz diff --git a/mpfi-1.5.3.tar.bz2 b/mpfi-1.5.3.tar.bz2 deleted file mode 100644 index 11bbe6f..0000000 --- a/mpfi-1.5.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2383d457b208c6cd3cf2e66b69c4ce47477b2a0db31fbec0cd4b1ebaa247192f -size 447256 diff --git a/mpfi-1.5.4.tgz b/mpfi-1.5.4.tgz new file mode 100644 index 0000000..b41a74b --- /dev/null +++ b/mpfi-1.5.4.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b3938595d720af17973deaf727cfc0dd41c8b16c20adc103a970f4a43ae3a56 +size 261696 diff --git a/mpfi.changes b/mpfi.changes index 6d60a34..ff993bc 100644 --- a/mpfi.changes +++ b/mpfi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Aug 24 20:24:49 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 1.5.4 + * mp_exp_t replaced by mpfr_exp_t, mp_prec_t replaced by + mpfr_prec_t, mp_rnd_t replaced by mpfr_rnd_t GMP_RNDx + replaced by MPFR_RNDx. + ------------------------------------------------------------------- Fri Jan 19 00:06:44 UTC 2018 - jengelh@inai.de diff --git a/mpfi.spec b/mpfi.spec index bf71957..a285f9b 100644 --- a/mpfi.spec +++ b/mpfi.spec @@ -1,7 +1,7 @@ # # spec file for package mpfi # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: mpfi %define lname libmpfi0 -Version: 1.5.3 +Version: 1.5.4 Release: 0 Summary: Multi-precision floating-point interval arithmetic computation library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Productivity/Scientific/Math -Url: http://mpfi.gforge.inria.fr/ +URL: http://mpfi.gforge.inria.fr/ #SVN-Clone: svn://scm.gforge.inria.fr/svnroot/mpfi/trunk # Download depends on the file ID, not the filename! -Source: https://gforge.inria.fr/frs/download.php/file/37331/mpfi-1.5.3.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: https://gforge.inria.fr/frs/download.php/file/38111/mpfi-1.5.4.tgz +BuildRequires: autoconf +BuildRequires: automake BuildRequires: gmp-devel >= 4.1.0 -BuildRequires: mpfr-devel >= 2.4.2 +BuildRequires: libtool +BuildRequires: makeinfo +BuildRequires: mpfr-devel >= 3 BuildRequires: pkgconfig -PreReq: %install_info_prereq +Requires(post): %install_info_prereq +Requires(postun): %install_info_prereq %description MPFI is a C library for arbitrary precision interval arithmetic with @@ -68,22 +72,21 @@ intervals represented using MPFR reliable floating-point numbers. This subpackage provides the development headers and libraries for it. %prep -%setup -q +%autosetup -p1 %build +./autogen.sh %configure --disable-static -make %{?_smp_mflags}; - -%check -make %{?_smp_mflags} check; +make %{?_smp_mflags} %install -b="%buildroot"; -make install DESTDIR="$b"; -rm -f "$b/%_libdir"/*.la; +%make_install +rm -f "%buildroot/%_libdir"/*.la -%post -n %lname -p /sbin/ldconfig +%check +#make check #upstream broke it in 1.5.4 +%post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %post devel @@ -93,11 +96,9 @@ rm -f "$b/%_libdir"/*.la; %install_info_delete --info-dir="%_infodir" "%_infodir/mpfi.info.gz" %files -n %lname -%defattr(-,root,root) %_libdir/libmpfi.so.0* %files devel -%defattr(-,root,root) %_includedir/mpfi*.h %_libdir/libmpfi.so %_infodir/mpfi.info*