Hello community,

here is the log from the commit of package ghc-aeson for openSUSE:Factory 
checked in at 2016-09-05 21:21:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-aeson (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-aeson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-aeson"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-aeson/ghc-aeson.changes      2016-07-21 
08:00:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-aeson.new/ghc-aeson.changes 2016-09-05 
21:21:16.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Aug 17 18:30:25 UTC 2016 - [email protected]
+
+- Update to version 0.11.2.1 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  1.cabal
  aeson-0.11.2.0.tar.gz

New:
----
  aeson-0.11.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-aeson.spec ++++++
--- /var/tmp/diff_new_pack.3vOtYJ/_old  2016-09-05 21:21:17.000000000 +0200
+++ /var/tmp/diff_new_pack.3vOtYJ/_new  2016-09-05 21:21:17.000000000 +0200
@@ -19,16 +19,14 @@
 %global pkg_name aeson
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.11.2.0
+Version:        0.11.2.1
 Release:        0
 Summary:        Fast JSON parsing and encoding
 License:        BSD-3-Clause
-Group:          System/Libraries
+Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-attoparsec-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -58,7 +56,6 @@
 BuildRequires:  ghc-test-framework-hunit-devel
 BuildRequires:  ghc-test-framework-quickcheck2-devel
 %endif
-# End cabal-rpm deps
 
 %description
 A JSON parsing and encoding library optimized for ease of use and high
@@ -94,22 +91,15 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
-
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ aeson-0.11.2.0.tar.gz -> aeson-0.11.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-0.11.2.0/aeson.cabal 
new/aeson-0.11.2.1/aeson.cabal
--- old/aeson-0.11.2.0/aeson.cabal      2016-04-29 20:01:01.000000000 +0200
+++ new/aeson-0.11.2.1/aeson.cabal      2016-08-07 14:20:26.000000000 +0200
@@ -1,5 +1,5 @@
 name:            aeson
-version:         0.11.2.0
+version:         0.11.2.1
 license:         BSD3
 license-file:    LICENSE
 category:        Text, Web, JSON
@@ -113,7 +113,7 @@
 
   if !impl(ghc >= 7.10)
     -- `Numeric.Natural` is available in base only since GHC 7.10 / base 4.8
-    build-depends: nats >=1 && <1.1
+    build-depends: nats >=1 && <1.2
 
   if flag(old-locale)
     build-depends: time < 1.5, old-locale
@@ -149,7 +149,7 @@
 
   build-depends:
     HUnit,
-    QuickCheck >= 2.7 && <2.8.3,
+    QuickCheck >= 2.7 && <2.10,
     aeson,
     attoparsec,
     base,
@@ -178,7 +178,7 @@
     build-depends: time >= 1.5
 
   if !impl(ghc >= 7.10)
-    build-depends: nats >=1 && <1.1
+    build-depends: nats >=1 && <1.2
 
 source-repository head
   type:     git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/aeson-0.11.2.0/tests/Instances.hs 
new/aeson-0.11.2.1/tests/Instances.hs
--- old/aeson-0.11.2.0/tests/Instances.hs       2016-04-07 17:14:30.000000000 
+0200
+++ new/aeson-0.11.2.1/tests/Instances.hs       2016-08-07 14:20:26.000000000 
+0200
@@ -142,12 +142,17 @@
 instance (ApproxEq a) => ApproxEq [a] where
     a =~ b = length a == length b && all (uncurry (=~)) (zip a b)
 
+#if !MIN_VERSION_QuickCheck(2,9,0)
 instance Arbitrary Version where
     arbitrary = makeVersion . fmap getNonNegative <$> resize 4 (listOf1 
arbitrary)
 
 instance Arbitrary a => Arbitrary (NonEmpty a) where
     arbitrary = (:|) <$> arbitrary <*> arbitrary
 
+instance Arbitrary a => Arbitrary (Const a b) where
+    arbitrary = Const <$> arbitrary
+#endif
+
 -- Version tags are deprecated, so we avoid using them in the Arbitrary
 -- instance. However, the recommended constructor 'makeVersion' is not
 -- exported by "Data.Version" until base-4.8.0.0. For previous versions,
@@ -168,6 +173,3 @@
 
 instance Arbitrary b => Arbitrary (Tagged a b) where
     arbitrary = Tagged <$> arbitrary
-
-instance Arbitrary a => Arbitrary (Const a b) where
-    arbitrary = Const <$> arbitrary


Reply via email to