Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-indexed-traversable-instances
for openSUSE:Factory checked in at 2023-04-04 21:20:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-indexed-traversable-instances (Old)
and
/work/SRC/openSUSE:Factory/.ghc-indexed-traversable-instances.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-indexed-traversable-instances"
Tue Apr 4 21:20:56 2023 rev:5 rq:1075929 version:0.1.1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-indexed-traversable-instances/ghc-indexed-traversable-instances.changes
2022-10-13 15:42:28.778777099 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-indexed-traversable-instances.new.19717/ghc-indexed-traversable-instances.changes
2023-04-04 21:21:06.809432485 +0200
@@ -1,0 +2,18 @@
+Thu Mar 30 17:07:16 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Sun Mar 12 10:34:12 UTC 2023 - Peter Simons <[email protected]>
+
+- Update indexed-traversable-instances to version 0.1.1.2 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Wed Mar 1 10:05:48 UTC 2023 - Peter Simons <[email protected]>
+
+- Update indexed-traversable-instances to version 0.1.1.2.
+ Upstream has not updated the file "Changelog.md" since the last
+ release.
+
+-------------------------------------------------------------------
Old:
----
indexed-traversable-instances-0.1.1.1.tar.gz
New:
----
indexed-traversable-instances-0.1.1.2.tar.gz
indexed-traversable-instances.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-indexed-traversable-instances.spec ++++++
--- /var/tmp/diff_new_pack.7PO5fc/_old 2023-04-04 21:21:07.337435476 +0200
+++ /var/tmp/diff_new_pack.7PO5fc/_new 2023-04-04 21:21:07.341435498 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-indexed-traversable-instances
#
-# 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,29 +17,44 @@
%global pkg_name indexed-traversable-instances
+%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.1.1
+Version: 0.1.1.2
Release: 0
Summary: More instances of FunctorWithIndex, FoldableWithIndex,
TraversableWithIndex
License: BSD-2-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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-OneTuple-devel
+BuildRequires: ghc-OneTuple-prof
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
BuildRequires: ghc-indexed-traversable-devel
+BuildRequires: ghc-indexed-traversable-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-tagged-devel
+BuildRequires: ghc-tagged-prof
BuildRequires: ghc-unordered-containers-devel
+BuildRequires: ghc-unordered-containers-prof
BuildRequires: ghc-vector-devel
+BuildRequires: ghc-vector-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-containers-devel
+BuildRequires: ghc-containers-prof
BuildRequires: ghc-quickcheck-instances-devel
+BuildRequires: ghc-quickcheck-instances-prof
BuildRequires: ghc-tasty-devel
+BuildRequires: ghc-tasty-prof
BuildRequires: ghc-tasty-quickcheck-devel
+BuildRequires: ghc-tasty-quickcheck-prof
BuildRequires: ghc-transformers-devel
+BuildRequires: ghc-transformers-prof
%endif
%description
@@ -63,8 +78,25 @@
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
@@ -87,4 +119,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
++++++ indexed-traversable-instances-0.1.1.1.tar.gz ->
indexed-traversable-instances-0.1.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/indexed-traversable-instances-0.1.1.1/indexed-traversable-instances.cabal
new/indexed-traversable-instances-0.1.1.2/indexed-traversable-instances.cabal
---
old/indexed-traversable-instances-0.1.1.1/indexed-traversable-instances.cabal
2001-09-09 03:46:40.000000000 +0200
+++
new/indexed-traversable-instances-0.1.1.2/indexed-traversable-instances.cabal
2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 1.12
name: indexed-traversable-instances
-version: 0.1.1.1
+version: 0.1.1.2
build-type: Simple
license: BSD2
license-file: LICENSE
@@ -32,8 +32,8 @@
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
- || ==9.2.4
- || ==9.4.1
+ || ==9.2.5
+ || ==9.4.4
source-repository head
type: git
@@ -47,7 +47,7 @@
build-depends:
base >=4.5 && <4.18
, indexed-traversable >=0.1 && <0.2
- , OneTuple >=0.3 && <0.4
+ , OneTuple >=0.3 && <0.5
, tagged >=0.8.6 && <0.9
, unordered-containers >=0.2.8.0 && <0.3
, vector >=0.12.1.2 && <0.14
@@ -83,6 +83,6 @@
build-depends:
QuickCheck >=2.14.2 && <2.15
- , quickcheck-instances >=0.3.26 && <0.4
+ , quickcheck-instances >=0.3.29 && <0.4
, tasty >=1.2.3 && <1.5
, tasty-quickcheck >=0.10.1.1 && <0.11
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/indexed-traversable-instances-0.1.1.1/src/Data/Functor/WithIndex/Instances.hs
new/indexed-traversable-instances-0.1.1.2/src/Data/Functor/WithIndex/Instances.hs
---
old/indexed-traversable-instances-0.1.1.1/src/Data/Functor/WithIndex/Instances.hs
2001-09-09 03:46:40.000000000 +0200
+++
new/indexed-traversable-instances-0.1.1.2/src/Data/Functor/WithIndex/Instances.hs
2001-09-09 03:46:40.000000000 +0200
@@ -21,9 +21,15 @@
import Control.Applicative ((<$>))
import Data.HashMap.Lazy (HashMap)
import Data.Tagged (Tagged (..))
-import Data.Tuple.Solo (Solo (Solo))
import Data.Vector (Vector)
+#if MIN_VERSION_OneTuple(0,4,0)
+import Data.Tuple.Solo (Solo (MkSolo))
+#else
+import Data.Tuple.Solo (Solo (Solo))
+#define MkSolo Solo
+#endif
+
import qualified Data.HashMap.Lazy as HM
import qualified Data.Vector as V
@@ -89,13 +95,13 @@
-------------------------------------------------------------------------------
instance FunctorWithIndex () Solo where
- imap f (Solo a) = Solo (f () a)
+ imap f (MkSolo a) = MkSolo (f () a)
{-# INLINE imap #-}
instance FoldableWithIndex () Solo where
- ifoldMap f (Solo a) = f () a
+ ifoldMap f (MkSolo a) = f () a
{-# INLINE ifoldMap #-}
instance TraversableWithIndex () Solo where
- itraverse f (Solo a) = Solo <$> f () a
+ itraverse f (MkSolo a) = MkSolo <$> f () a
{-# INLINE itraverse #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/indexed-traversable-instances-0.1.1.1/tests/main.hs
new/indexed-traversable-instances-0.1.1.2/tests/main.hs
--- old/indexed-traversable-instances-0.1.1.1/tests/main.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/indexed-traversable-instances-0.1.1.2/tests/main.hs 2001-09-09
03:46:40.000000000 +0200
@@ -7,13 +7,19 @@
import Data.Foldable (toList)
import Data.Functor.Identity (Identity (..))
import Data.Monoid (Endo (..), Monoid (..))
-import Data.Tuple.Solo (Solo (Solo))
import Test.QuickCheck
(Arbitrary, CoArbitrary, Fun, Function, Property, applyFun, (===))
import Test.QuickCheck.Poly (A, B)
import Test.Tasty (TestTree, defaultMain, testGroup)
import Test.Tasty.QuickCheck (testProperty)
+#if MIN_VERSION_OneTuple(0,4,0)
+import Data.Tuple.Solo (Solo (MkSolo))
+#else
+import Data.Tuple.Solo (Solo (Solo))
+#define MkSolo Solo
+#endif
+
import qualified Data.HashMap.Lazy as HM
import qualified Data.Map as Map
import qualified Data.Sequence as Seq
@@ -53,7 +59,7 @@
, battery $ mkT (HM.keys :: forall a. HM.HashMap I a -> [I])
, battery $ mkT (zipWith const [0 ..] . toList :: forall a. Seq.Seq a ->
[Int])
, battery $ mkT $ zipWith const [0 ..] . V.toList
- , battery $ mkT $ \(Solo _) -> [()]
+ , battery $ mkT $ \(MkSolo _) -> [()]
#if MIN_VERSION_containers(0,6,3)
, battery $ mkT IntMap.keys
#endif
++++++ indexed-traversable-instances.cabal ++++++
cabal-version: 1.12
name: indexed-traversable-instances
version: 0.1.1.2
x-revision: 1
build-type: Simple
license: BSD2
license-file: LICENSE
category: Data
maintainer: Oleg Grenrus <[email protected]>
author: Edward Kmett
synopsis:
More instances of FunctorWithIndex, FoldableWithIndex, TraversableWithIndex
description:
This package provides extra instances for type-classes in the
[indexed-traversable](https://hackage.haskell.org/package/indexed-traversable)
package.
.
The intention is to keep this package minimal;
it provides instances that formely existed in @lens@ or @optics-extra@.
We recommend putting other instances directly into their defining packages.
The @indexed-traversable@ package is light, having only GHC boot libraries
as its dependencies.
extra-source-files: Changelog.md
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
source-repository head
type: git
location: https://github.com/haskellari/indexed-traversable
subdir: indexed-traversable-instances
library
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: src
build-depends:
base >=4.5 && <4.19
, indexed-traversable >=0.1 && <0.2
, OneTuple >=0.3 && <0.5
, tagged >=0.8.6 && <0.9
, unordered-containers >=0.2.8.0 && <0.3
, vector >=0.12.1.2 && <0.14
exposed-modules: Data.Functor.WithIndex.Instances
test-suite safe
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: tests
main-is: safe.hs
build-depends:
base
, indexed-traversable
, indexed-traversable-instances
test-suite indexed-tests
type: exitcode-stdio-1.0
default-language: Haskell2010
ghc-options: -Wall
hs-source-dirs: tests
main-is: main.hs
build-depends:
base
, containers
, indexed-traversable
, indexed-traversable-instances
, OneTuple
, transformers
, unordered-containers
, vector
build-depends:
QuickCheck >=2.14.2 && <2.15
, quickcheck-instances >=0.3.29 && <0.4
, tasty >=1.2.3 && <1.5
, tasty-quickcheck >=0.10.1.1 && <0.11