Hello community,

here is the log from the commit of package ghc-safecopy for openSUSE:Factory 
checked in at 2017-02-04 15:22:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-safecopy (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-safecopy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-safecopy"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-safecopy/ghc-safecopy.changes        
2017-02-03 17:39:52.126292609 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-safecopy.new/ghc-safecopy.changes   
2017-02-04 17:56:51.255537188 +0100
@@ -1,0 +2,5 @@
+Sun Nov  6 21:25:49 UTC 2016 - psim...@suse.com
+
+- Update to version 0.9.2 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  safecopy-0.9.1.tar.gz

New:
----
  safecopy-0.9.2.tar.gz

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

Other differences:
------------------
++++++ ghc-safecopy.spec ++++++
--- /var/tmp/diff_new_pack.RlU9L9/_old  2017-02-04 17:56:51.639482284 +0100
+++ /var/tmp/diff_new_pack.RlU9L9/_new  2017-02-04 17:56:51.643481712 +0100
@@ -19,15 +19,14 @@
 %global pkg_name safecopy
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        Binary serialization with version control
 License:        SUSE-Public-Domain
-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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-cereal-devel
@@ -47,7 +46,6 @@
 BuildRequires:  ghc-tasty-devel
 BuildRequires:  ghc-tasty-quickcheck-devel
 %endif
-# End cabal-rpm deps
 
 %description
 An extension to Data.Serialize with built-in version control.
@@ -66,20 +64,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ safecopy-0.9.1.tar.gz -> safecopy-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/safecopy-0.9.1/safecopy.cabal 
new/safecopy-0.9.2/safecopy.cabal
--- old/safecopy-0.9.1/safecopy.cabal   2016-05-30 17:12:14.000000000 +0200
+++ new/safecopy-0.9.2/safecopy.cabal   2016-11-03 02:12:13.000000000 +0100
@@ -3,10 +3,10 @@
 -- 
http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
 -- The name of the package.
 Name:                safecopy
-Version:             0.9.1
+Version:             0.9.2
 Synopsis:            Binary serialization with version control.
 Description:         An extension to Data.Serialize with built-in version 
control.
-Homepage:            http://acid-state.seize.it/safecopy
+Homepage:            https://github.com/acid-state/safecopy
 License:             PublicDomain
 Author:              David Himmelstrup, Felipe Lessa
 Maintainer:          Lemmih <lem...@gmail.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/safecopy-0.9.1/test/instances.hs 
new/safecopy-0.9.2/test/instances.hs
--- old/safecopy-0.9.1/test/instances.hs        2016-05-30 17:12:14.000000000 
+0200
+++ new/safecopy-0.9.2/test/instances.hs        2016-11-03 02:12:13.000000000 
+0100
@@ -32,6 +32,7 @@
 import qualified Data.Vector.Storable as VS
 import qualified Data.Vector.Unboxed as VU
 
+#if ! MIN_VERSION_QuickCheck(2,9,0)
 instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d, Arbitrary e, 
Arbitrary f) =>
          Arbitrary (a,b,c,d,e,f) where
    arbitrary = (,,,,,) <$> arbitrary <*> arbitrary <*> arbitrary <*>
@@ -41,6 +42,7 @@
          Arbitrary (a,b,c,d,e,f,g) where
    arbitrary = (,,,,,,) <$> arbitrary <*> arbitrary <*> arbitrary <*>
                             arbitrary <*> arbitrary <*> arbitrary <*> arbitrary
+#endif
 
 #if ! MIN_VERSION_QuickCheck(2,8,2)
 instance (Arbitrary a) => Arbitrary (V.Vector a) where
@@ -61,7 +63,9 @@
 deriving instance (Show a) => Show (Prim a)
 
 deriving instance Eq ZonedTime
+#if ! MIN_VERSION_time(1,6,0)
 deriving instance Show UniversalTime
+#endif
 
 -- | Equality on the 'Right' value, showing the unequal value on failure;
 -- or explicit failure using the 'Left' message without equality testing.
@@ -115,7 +119,11 @@
 #endif
    def <- a
 
+#if MIN_VERSION_template_haskell(2,11,0)
+   let instances (ClassI _ decs) = [ typ | InstanceD _ _ (AppT _ typ) _ <- 
decs ]
+#else
    let instances (ClassI _ decs) = [ typ | InstanceD _ (AppT _ typ) _ <- decs ]
+#endif
        instances _ = []
        types = map instances classes
 


Reply via email to