Hello community,
here is the log from the commit of package ghc-hmpfr for openSUSE:Factory checked in at 2018-01-31 19:50:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hmpfr (Old)
and /work/SRC/openSUSE:Factory/.ghc-hmpfr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hmpfr"
Wed Jan 31 19:50:06 2018 rev:2 rq:570660 version:0.4.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hmpfr/ghc-hmpfr.changes 2017-04-12 18:06:58.680334871 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hmpfr.new/ghc-hmpfr.changes 2018-01-31 19:50:10.490267234 +0100
@@ -1,0 +2,16 @@
+Mon Jan 29 11:25:52 UTC 2018 - psimons@suse.com
+
+- Update hmpfr to version 0.4.4.
+ Fix compilation with mpfr-4.0.0.0.
+
+-------------------------------------------------------------------
+Thu Aug 17 03:03:30 UTC 2017 - psimons@suse.com
+
+- Update to version 0.4.3.
+
+-------------------------------------------------------------------
+Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+-------------------------------------------------------------------
Old:
----
hmpfr-0.4.2.1.tar.gz
New:
----
hmpfr-0.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-hmpfr.spec ++++++
--- /var/tmp/diff_new_pack.Pl47E0/_old 2018-01-31 19:50:11.306229293 +0100
+++ /var/tmp/diff_new_pack.Pl47E0/_new 2018-01-31 19:50:11.310229107 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-hmpfr
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,17 +18,16 @@
%global pkg_name hmpfr
Name: ghc-%{pkg_name}
-Version: 0.4.2.1
+Version: 0.4.4
Release: 0
Summary: Haskell binding to the MPFR library
License: BSD-3-Clause
-Group: Development/Languages/Other
-Url: https://hackage.haskell.org/package/%{pkg_name}
+Group: Development/Libraries/Haskell
+URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: mpfr-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Haskell binding to the MPFR library.
@@ -40,7 +39,7 @@
%package devel
Summary: Haskell %{pkg_name} library development files
-Group: Development/Libraries/Other
+Group: Development/Libraries/Haskell
Requires: %{name} = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires: mpfr-devel
@@ -66,7 +65,6 @@
%ghc_pkg_recache
%files -f %{name}.files
-%defattr(-,root,root,-)
%doc LICENSE
%dir %{_datadir}/%{pkg_name}-%{version}
%{_datadir}/%{pkg_name}-%{version}/README.md
@@ -74,6 +72,5 @@
%{_datadir}/%{pkg_name}-%{version}/ChangeLog
%files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
%changelog
++++++ hmpfr-0.4.2.1.tar.gz -> hmpfr-0.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hmpfr-0.4.2.1/ChangeLog new/hmpfr-0.4.4/ChangeLog
--- old/hmpfr-0.4.2.1/ChangeLog 2016-12-28 18:05:26.000000000 +0100
+++ new/hmpfr-0.4.4/ChangeLog 2018-01-15 17:19:46.000000000 +0100
@@ -1,3 +1,5 @@
+0.4.4: 15 Jan 2018: Fix compilation with mpfr-4.0.0.0
+0.4.3: 7 Aug 2017: expose all modules
0.4.2.1: 28 Dec 2016: instance Generic MPFR
0.4.2: 2nd Sep 2016: Added RealFloat instances
0.4.1: 2nd Aug 2016: Added support for digamma
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hmpfr-0.4.2.1/cbits/chsmpfr.c new/hmpfr-0.4.4/cbits/chsmpfr.c
--- old/hmpfr-0.4.2.1/cbits/chsmpfr.c 2016-07-12 00:08:33.000000000 +0200
+++ new/hmpfr-0.4.4/cbits/chsmpfr.c 2018-01-16 11:00:01.000000000 +0100
@@ -20,7 +20,11 @@
return state;
}
+#if defined (_MPFR_PROTO)
__MPFR_DECLSPEC int mpfr_urandomb_deref_randstate _MPFR_PROTO ((mpfr_ptr dP, gmp_randstate_t * rsP))
+#else
+__MPFR_DECLSPEC int mpfr_urandomb_deref_randstate (mpfr_ptr dP, gmp_randstate_t * rsP)
+#endif
{
return mpfr_urandomb(dP, * rsP);
}
@@ -33,7 +37,7 @@
return mpfr_inf_p(p);
}
int mpfr_zero_p_wrap(const mpfr_ptr p) {
- return mpfr_zero_p(p);
+ return mpfr_zero_p(p);
}
int mpfr_set_wrap(const mpfr_ptr p1, const mpfr_ptr p2, mp_rnd_t r) {
@@ -58,7 +62,7 @@
int mpfr_sgn_wrap (const mpfr_ptr p1) {
return mpfr_sgn (p1);
-}
+}
int mpfr_set_si_wrap (const mpfr_ptr p, long int si, mp_rnd_t r) {
return mpfr_set_si(p, si, r);
@@ -105,7 +109,7 @@
}
size_t mpfr_custom_get_size_wrap (mp_prec_t p1) {
- return mpfr_custom_get_size (p1);
+ return mpfr_custom_get_size (p1);
}
void mpfr_custom_init_wrap (void *p1 , mp_prec_t p2) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hmpfr-0.4.2.1/cbits/chsmpfr.h new/hmpfr-0.4.4/cbits/chsmpfr.h
--- old/hmpfr-0.4.2.1/cbits/chsmpfr.h 2016-07-12 00:08:33.000000000 +0200
+++ new/hmpfr-0.4.4/cbits/chsmpfr.h 2018-01-15 17:16:55.000000000 +0100
@@ -8,7 +8,11 @@
gmp_randstate_t * new_gmp_randstate();
+#if defined (_MPFR_PROTO)
__MPFR_DECLSPEC int mpfr_urandomb_deref_randstate _MPFR_PROTO ((mpfr_ptr dP, gmp_randstate_t * rsP));
+#else
+__MPFR_DECLSPEC int mpfr_urandomb_deref_randstate (mpfr_ptr dP, gmp_randstate_t * rsP);
+#endif
// these functions are defined as macros and so haskell ffi
// can't work with them directly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hmpfr-0.4.2.1/hmpfr.cabal new/hmpfr-0.4.4/hmpfr.cabal
--- old/hmpfr-0.4.2.1/hmpfr.cabal 2016-12-28 18:05:52.000000000 +0100
+++ new/hmpfr-0.4.4/hmpfr.cabal 2018-01-16 10:41:21.000000000 +0100
@@ -1,5 +1,5 @@
name: hmpfr
-version: 0.4.2.1
+version: 0.4.4
synopsis: Haskell binding to the MPFR library
description:
Haskell binding to the MPFR library.
@@ -16,7 +16,8 @@
Stability: experimental
Tested-with:
GHC==7.10.3
- GHC==8.0.1
+ GHC==8.0.2
+ GHC==8.2.2
author: Aleš Bizjak, Michal Konečný
maintainer: Michal Konečný