Hello community, here is the log from the commit of package ghc-semigroups for openSUSE:Factory checked in at 2016-10-22 13:20:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-semigroups (Old) and /work/SRC/openSUSE:Factory/.ghc-semigroups.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-semigroups" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-semigroups/ghc-semigroups.changes 2016-07-21 08:13:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-semigroups.new/ghc-semigroups.changes 2016-10-22 13:20:39.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Sep 15 07:08:46 UTC 2016 - [email protected] + +- Update to version 0.18.2 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- 1.cabal semigroups-0.18.1.tar.gz New: ---- semigroups-0.18.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-semigroups.spec ++++++ --- /var/tmp/diff_new_pack.LAedW0/_old 2016-10-22 13:20:43.000000000 +0200 +++ /var/tmp/diff_new_pack.LAedW0/_new 2016-10-22 13:20:43.000000000 +0200 @@ -18,28 +18,16 @@ %global pkg_name semigroups Name: ghc-%{pkg_name} -Version: 0.18.1 +Version: 0.18.2 Release: 0 Summary: Anything that associates 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-binary-devel -BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-containers-devel -BuildRequires: ghc-deepseq-devel -BuildRequires: ghc-hashable-devel BuildRequires: ghc-rpm-macros -BuildRequires: ghc-tagged-devel -BuildRequires: ghc-text-devel -BuildRequires: ghc-transformers-devel -BuildRequires: ghc-unordered-containers-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description In mathematics, a semigroup is an algebraic structure consisting of a set @@ -61,17 +49,13 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal - %build %ghc_lib_build - %install %ghc_lib_install - %post devel %ghc_pkg_recache ++++++ semigroups-0.18.1.tar.gz -> semigroups-0.18.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semigroups-0.18.1/CHANGELOG.markdown new/semigroups-0.18.2/CHANGELOG.markdown --- old/semigroups-0.18.1/CHANGELOG.markdown 2016-01-26 22:16:56.000000000 +0100 +++ new/semigroups-0.18.2/CHANGELOG.markdown 2016-06-23 04:12:10.000000000 +0200 @@ -1,3 +1,8 @@ +0.18.2 +------ +* Depend on the `bytestring-builder` package to ensure `Semigroup` instances for bytestring `Builder` and `ShortByteString` are always defined +* Allow building with `binary-0.8.3` and later + 0.18.1 ------ * Add the missing instance for `Data.Binary.Builder.Builder`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semigroups-0.18.1/semigroups.cabal new/semigroups-0.18.2/semigroups.cabal --- old/semigroups-0.18.1/semigroups.cabal 2016-01-26 22:16:56.000000000 +0100 +++ new/semigroups-0.18.2/semigroups.cabal 2016-06-23 04:12:10.000000000 +0200 @@ -1,6 +1,6 @@ name: semigroups category: Algebra, Data, Data Structures, Math -version: 0.18.1 +version: 0.18.2 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE @@ -48,6 +48,14 @@ default: True manual: True +flag bytestring-builder + description: + You can disable the use of the `bytestring-builder` package using `-f-bytestring-builder`. + . + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. + default: True + manual: False + flag containers description: You can disable the use of the `containers` package using `-f-containers`. @@ -84,7 +92,7 @@ description: You can disable the use of the `transformers` package using `-f-transformers`. . - Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sa ndboxes for expert users. + Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. default: True manual: True @@ -126,7 +134,11 @@ build-depends: binary if flag(bytestring) - build-depends: bytestring >= 0.9 && < 1 + if flag(bytestring-builder) + build-depends: bytestring >= 0.9 && < 0.10.4, + bytestring-builder >= 0.10.4 && < 1 + else + build-depends: bytestring >= 0.10.4 && < 1 if flag(containers) build-depends: containers >= 0.3 && < 0.6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semigroups-0.18.1/src-ghc7/Data/List/NonEmpty.hs new/semigroups-0.18.2/src-ghc7/Data/List/NonEmpty.hs --- old/semigroups-0.18.1/src-ghc7/Data/List/NonEmpty.hs 2016-01-26 22:16:56.000000000 +0100 +++ new/semigroups-0.18.2/src-ghc7/Data/List/NonEmpty.hs 2016-06-23 04:12:10.000000000 +0200 @@ -414,7 +414,7 @@ -- | @'cycle' xs@ returns the infinite repetition of @xs@: -- --- > cycle [1,2,3] = 1 :| [2,3,1,2,3,...] +-- > cycle (1 :| [2,3]) = 1 :| [2,3,1,2,3,...] cycle :: NonEmpty a -> NonEmpty a cycle = fromList . List.cycle . toList {-# INLINE cycle #-} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semigroups-0.18.1/src-ghc7/Data/Semigroup.hs new/semigroups-0.18.2/src-ghc7/Data/Semigroup.hs --- old/semigroups-0.18.1/src-ghc7/Data/Semigroup.hs 2016-01-26 22:16:56.000000000 +0100 +++ new/semigroups-0.18.2/src-ghc7/Data/Semigroup.hs 2016-06-23 04:12:10.000000000 +0200 @@ -8,7 +8,7 @@ #if __GLASGOW_HASKELL__ >= 702 #define LANGUAGE_DefaultSignatures {-# LANGUAGE DefaultSignatures #-} -#if defined(MIN_VERSION_hashable) || __GLASGOW_HASKELL__ >= 708 +#if (defined(MIN_VERSION_hashable)) || __GLASGOW_HASKELL__ >= 708 {-# LANGUAGE Trustworthy #-} #else {-# LANGUAGE Safe #-} @@ -127,29 +127,31 @@ #endif #ifdef MIN_VERSION_binary +# if !(MIN_VERSION_binary(0,8,3)) import qualified Data.Binary.Builder as Builder +# endif #endif #ifdef MIN_VERSION_bytestring import Data.ByteString as Strict import Data.ByteString.Lazy as Lazy -# if MIN_VERSION_bytestring(0,10,2) +# if (MIN_VERSION_bytestring(0,10,2)) || defined(MIN_VERSION_bytestring_builder) import qualified Data.ByteString.Builder as ByteString # elif MIN_VERSION_bytestring(0,10,0) import qualified Data.ByteString.Lazy.Builder as ByteString # endif -# if MIN_VERSION_bytestring(0,10,4) +# if (MIN_VERSION_bytestring(0,10,4)) || defined(MIN_VERSION_bytestring_builder) import Data.ByteString.Short # endif #endif -#if MIN_VERSION_base(4,8,0) || defined(MIN_VERSION_transformers) +#if (MIN_VERSION_base(4,8,0)) || defined(MIN_VERSION_transformers) import Data.Functor.Identity #endif -#if MIN_VERSION_base(4,7,0) || defined(MIN_VERSION_tagged) +#if (MIN_VERSION_base(4,7,0)) || defined(MIN_VERSION_tagged) import Data.Proxy #endif @@ -796,8 +798,10 @@ -- (==)/XNOR on Bool forms a 'Semigroup', but has no good name #ifdef MIN_VERSION_binary +# if !(MIN_VERSION_binary(0,8,3)) instance Semigroup Builder.Builder where (<>) = mappend +# endif #endif #ifdef MIN_VERSION_bytestring @@ -807,12 +811,12 @@ instance Semigroup Lazy.ByteString where (<>) = mappend -# if MIN_VERSION_bytestring(0,10,0) +# if (MIN_VERSION_bytestring(0,10,0)) || defined(MIN_VERSION_bytestring_builder) instance Semigroup ByteString.Builder where (<>) = mappend # endif -# if MIN_VERSION_bytestring(0,10,4) +# if (MIN_VERSION_bytestring(0,10,4)) || defined(MIN_VERSION_bytestring_builder) instance Semigroup ShortByteString where (<>) = mappend # endif @@ -1020,7 +1024,7 @@ stimes = stimesIdempotentMonoid #endif -#if MIN_VERSION_base(4,8,0) || defined(MIN_VERSION_transformers) +#if (MIN_VERSION_base(4,8,0)) || defined(MIN_VERSION_transformers) instance Semigroup a => Semigroup (Identity a) where # ifdef USE_COERCE (<>) = coerce ((<>) :: a -> a -> a) @@ -1030,7 +1034,7 @@ stimes n (Identity a) = Identity (stimes n a) #endif -#if MIN_VERSION_base(4,7,0) || defined(MIN_VERSION_tagged) +#if (MIN_VERSION_base(4,7,0)) || defined(MIN_VERSION_tagged) instance Semigroup (Proxy s) where _ <> _ = Proxy sconcat _ = Proxy
