Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-binary-orphans for openSUSE:Factory checked in at 2023-04-04 21:18:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-binary-orphans (Old) and /work/SRC/openSUSE:Factory/.ghc-binary-orphans.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-binary-orphans" Tue Apr 4 21:18:44 2023 rev:5 rq:1075784 version:1.0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-binary-orphans/ghc-binary-orphans.changes 2022-10-13 15:44:34.071021684 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-binary-orphans.new.19717/ghc-binary-orphans.changes 2023-04-04 21:18:50.056583642 +0200 @@ -1,0 +2,23 @@ +Thu Mar 30 17:05:59 UTC 2023 - Peter Simons <[email protected]> + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + +------------------------------------------------------------------- +Wed Mar 15 16:11:41 UTC 2023 - Peter Simons <[email protected]> + +- Update binary-orphans to version 1.0.4.1 revision 2. + Upstream has revised the Cabal build instructions on Hackage. + +------------------------------------------------------------------- +Wed Mar 1 19:47:36 UTC 2023 - Peter Simons <[email protected]> + +- Update binary-orphans to version 1.0.4.1. + # 1.0.4.1 + + - Support OneTuple-0.4 + + # 1.0.4 + + - Depend on `data-byte-array` to provide `Data.Array.Byte` instance + +------------------------------------------------------------------- Old: ---- binary-orphans-1.0.3.tar.gz New: ---- binary-orphans-1.0.4.1.tar.gz binary-orphans.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-binary-orphans.spec ++++++ --- /var/tmp/diff_new_pack.wXamkM/_old 2023-04-04 21:18:50.592587060 +0200 +++ /var/tmp/diff_new_pack.wXamkM/_new 2023-04-04 21:18:50.596587085 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-binary-orphans # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,38 @@ %global pkg_name binary-orphans +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.0.3 +Version: 1.0.4.1 Release: 0 Summary: Compatibility package for binary; provides instances License: BSD-3-Clause 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/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-OneTuple-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-binary-devel +BuildRequires: ghc-binary-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-transformers-devel +BuildRequires: ghc-transformers-prof ExcludeArch: %{ix86} %if %{with tests} +BuildRequires: ghc-OneTuple-devel +BuildRequires: ghc-OneTuple-prof BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-quickcheck-instances-devel +BuildRequires: ghc-quickcheck-instances-prof BuildRequires: ghc-tagged-devel +BuildRequires: ghc-tagged-prof BuildRequires: ghc-tasty-devel +BuildRequires: ghc-tasty-prof BuildRequires: ghc-tasty-quickcheck-devel +BuildRequires: ghc-tasty-quickcheck-prof %endif %description @@ -57,8 +69,25 @@ %description devel This package provides the Haskell %{pkg_name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -81,4 +110,9 @@ %files devel -f %{name}-devel.files %doc CHANGELOG.md +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog ++++++ binary-orphans-1.0.3.tar.gz -> binary-orphans-1.0.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/binary-orphans-1.0.3/CHANGELOG.md new/binary-orphans-1.0.4.1/CHANGELOG.md --- old/binary-orphans-1.0.3/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/binary-orphans-1.0.4.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,11 @@ +# 1.0.4.1 + +- Support OneTuple-0.4 + +# 1.0.4 + +- Depend on `data-byte-array` to provide `Data.Array.Byte` instance + # 1.0.3 - Add `ByteArray` (from `Data.Array.Byte` instance) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/binary-orphans-1.0.3/binary-orphans.cabal new/binary-orphans-1.0.4.1/binary-orphans.cabal --- old/binary-orphans-1.0.3/binary-orphans.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/binary-orphans-1.0.4.1/binary-orphans.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 1.12 name: binary-orphans -version: 1.0.3 +version: 1.0.4.1 synopsis: Compatibility package for binary; provides instances category: Data, Binary, Parsing, Compatibility description: @@ -24,10 +24,11 @@ || ==8.4.4 || ==8.6.5 || ==8.8.4 - || ==8.10.4 + || ==8.10.7 || ==9.0.2 - || ==9.2.4 - || ==9.4.1 + || ==9.2.7 + || ==9.4.4 + || ==9.6.1 extra-source-files: CHANGELOG.md @@ -55,7 +56,10 @@ build-depends: semigroups >=0.18.5 && <0.20.1 if !impl(ghc >=9.2) - build-depends: OneTuple >=0.3 && <0.4 + build-depends: OneTuple >=0.3 && <0.5 + + if impl(ghc >=8.0 && <9.4) + build-depends: data-array-byte >=0.1.0.1 && <0.2 test-suite binary-orphans-test default-language: Haskell2010 @@ -67,7 +71,7 @@ base , binary , binary-orphans - , OneTuple >=0.3 && <0.4 + , OneTuple >=0.3 && <0.5 , QuickCheck >=2.13.1 && <2.15 , quickcheck-instances >=0.3.28 && <0.4 , tagged >=0.8.6 && <0.8.7 @@ -81,3 +85,6 @@ build-depends: nats , void + + if impl(ghc >=8.0 && <9.4) + build-depends: data-array-byte diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/binary-orphans-1.0.3/src/Data/Binary/Orphans.hs new/binary-orphans-1.0.4.1/src/Data/Binary/Orphans.hs --- old/binary-orphans-1.0.3/src/Data/Binary/Orphans.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/binary-orphans-1.0.4.1/src/Data/Binary/Orphans.hs 2001-09-09 03:46:40.000000000 +0200 @@ -31,13 +31,21 @@ import GHC.Fingerprint (Fingerprint (..)) import Numeric.Natural (Natural) -#if MIN_VERSION_base(4,16,0) -import Data.Tuple (Solo (..)) +#if MIN_VERSION_base(4,18,0) +import Data.Tuple (Solo (MkSolo)) +#elif MIN_VERSION_base(4,16,0) +import Data.Tuple (Solo (Solo)) +#define MkSolo Solo #else -import Data.Tuple.Solo (Solo (..)) +#if MIN_VERSION_OneTuple(0,4,0) +import Data.Tuple.Solo (Solo (MkSolo)) +#else +import Data.Tuple.Solo (Solo (Solo)) +#define MkSolo Solo +#endif #endif -#if MIN_VERSION_base(4,17,0) +#if MIN_VERSION_base(4,9,0) import Data.Array.Byte (ByteArray (..), MutableByteArray (..)) import GHC.Exts (Int (..), indexWord8Array#, newByteArray#, sizeofByteArray#, @@ -346,11 +354,13 @@ -- future-binary ------------------------------------------------------------------------------- +-- | @since 1.0.2 instance Binary a => Binary (Solo a) where - put (Solo x) = put x - get = fmap Solo get + put (MkSolo x) = put x + get = fmap MkSolo get -#if MIN_VERSION_base(4,17,0) +#if MIN_VERSION_base(4,9,0) +-- | @since 1.0.3 instance Binary ByteArray where put ba = put maxI >> go 0 where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/binary-orphans-1.0.3/test/Tests.hs new/binary-orphans-1.0.4.1/test/Tests.hs --- old/binary-orphans-1.0.3/test/Tests.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/binary-orphans-1.0.4.1/test/Tests.hs 2001-09-09 03:46:40.000000000 +0200 @@ -13,7 +13,7 @@ import Test.Tasty (TestTree, defaultMain, testGroup) import Test.Tasty.QuickCheck (testProperty) -#if MIN_VERSION_base(4,17,0) +#if MIN_VERSION_base(4,9,0) import Data.Array.Byte (ByteArray) #endif @@ -26,7 +26,7 @@ , testProperty "Sum Int" $ roundtrip (Proxy :: Proxy (Sum Int)) , testProperty "Min Int" $ roundtrip (Proxy :: Proxy (Min Int)) , testProperty "Solo Int" $ roundtrip (Proxy :: Proxy (Solo Int)) -#if MIN_VERSION_base(4,17,0) +#if MIN_VERSION_base(4,9,0) , testProperty "ByteArray" $ roundtrip (Proxy :: Proxy ByteArray) #endif ] ++++++ binary-orphans.cabal ++++++ cabal-version: 1.12 name: binary-orphans version: 1.0.4.1 x-revision: 2 synopsis: Compatibility package for binary; provides instances category: Data, Binary, Parsing, Compatibility description: This package provides instances defined in later versions of @binary@ package . Prior version 1 this packages provided instances for other packages. That functionality is moved to [binary-instances](https://hackage.haskell.org/package/binary-instances) package. build-type: Simple maintainer: Oleg Grenrus <[email protected]> author: Oleg Grenrus <[email protected]> license: BSD3 license-file: LICENSE tested-with: GHC ==7.4.2 || ==7.6.3 || ==7.8.4 || ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.4 || ==9.6.1 extra-source-files: CHANGELOG.md source-repository head type: git location: https://github.com/phadej/binary-orphans.git library default-language: Haskell2010 hs-source-dirs: src ghc-options: -Wall exposed-modules: Data.Binary.Orphans other-extensions: CPP build-depends: base >=4.5 && <4.19 , binary >=0.5.1.0 && <0.6 || >=0.7.1.0 && <0.8 || >=0.8.3.0 && <0.8.10 , transformers >=0.3.0.0 && <0.7 if !impl(ghc >=7.10) build-depends: nats >=1.1.2 && <1.2 build-depends: void >=0.7.3 && <0.8 if !impl(ghc >=8.0) build-depends: fail >=4.9 && <4.10 build-depends: semigroups >=0.18.5 && <0.20.1 if !impl(ghc >=9.2) build-depends: OneTuple >=0.3 && <0.5 if impl(ghc >=8.0 && <9.4) build-depends: data-array-byte >=0.1.0.1 && <0.2 test-suite binary-orphans-test default-language: Haskell2010 type: exitcode-stdio-1.0 main-is: Tests.hs hs-source-dirs: test ghc-options: -Wall build-depends: base , binary , binary-orphans , OneTuple >=0.3 && <0.5 , QuickCheck >=2.13.1 && <2.15 , quickcheck-instances >=0.3.28 && <0.4 , tagged >=0.8.6 && <0.9 , tasty >=0.10.1.2 && <1.5 , tasty-quickcheck >=0.8.3.2 && <0.11 if !impl(ghc >=8.0) build-depends: semigroups if !impl(ghc >=7.10) build-depends: nats , void if impl(ghc >=8.0 && <9.4) build-depends: data-array-byte
