Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-adjunctions for openSUSE:Factory
checked in at 2023-04-04 21:18:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-adjunctions (Old)
and /work/SRC/openSUSE:Factory/.ghc-adjunctions.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-adjunctions"
Tue Apr 4 21:18:16 2023 rev:11 rq:1075754 version:4.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-adjunctions/ghc-adjunctions.changes
2022-10-13 15:40:55.834595656 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-adjunctions.new.19717/ghc-adjunctions.changes
2023-04-04 21:18:18.932385205 +0200
@@ -1,0 +2,11 @@
+Thu Mar 30 17:05:42 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Sun Mar 12 19:18:03 UTC 2023 - Peter Simons <[email protected]>
+
+- Update adjunctions to version 4.4.2 revision 1.
+ Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
New:
----
adjunctions.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-adjunctions.spec ++++++
--- /var/tmp/diff_new_pack.nG2eHg/_old 2023-04-04 21:18:19.432388393 +0200
+++ /var/tmp/diff_new_pack.nG2eHg/_new 2023-04-04 21:18:19.444388470 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-adjunctions
#
-# 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,6 +17,7 @@
%global pkg_name adjunctions
+%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 4.4.2
@@ -25,26 +26,45 @@
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-array-devel
+BuildRequires: ghc-array-prof
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
BuildRequires: ghc-comonad-devel
+BuildRequires: ghc-comonad-prof
BuildRequires: ghc-containers-devel
+BuildRequires: ghc-containers-prof
BuildRequires: ghc-contravariant-devel
+BuildRequires: ghc-contravariant-prof
BuildRequires: ghc-distributive-devel
+BuildRequires: ghc-distributive-prof
BuildRequires: ghc-free-devel
+BuildRequires: ghc-free-prof
BuildRequires: ghc-mtl-devel
+BuildRequires: ghc-mtl-prof
BuildRequires: ghc-profunctors-devel
+BuildRequires: ghc-profunctors-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-semigroupoids-devel
+BuildRequires: ghc-semigroupoids-prof
BuildRequires: ghc-semigroups-devel
+BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-tagged-devel
+BuildRequires: ghc-tagged-prof
BuildRequires: ghc-transformers-compat-devel
+BuildRequires: ghc-transformers-compat-prof
BuildRequires: ghc-transformers-devel
+BuildRequires: ghc-transformers-prof
BuildRequires: ghc-void-devel
+BuildRequires: ghc-void-prof
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-generic-deriving-devel
+BuildRequires: ghc-generic-deriving-prof
BuildRequires: ghc-hspec-devel
+BuildRequires: ghc-hspec-prof
%endif
%description
@@ -60,8 +80,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
@@ -84,4 +121,9 @@
%files devel -f %{name}-devel.files
%doc CHANGELOG.markdown README.markdown
+%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
++++++ adjunctions.cabal ++++++
name: adjunctions
category: Data Structures, Adjunctions
version: 4.4.2
x-revision: 1
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <[email protected]>
stability: provisional
homepage: http://github.com/ekmett/adjunctions/
bug-reports: http://github.com/ekmett/adjunctions/issues
copyright: Copyright (C) 2011-2014 Edward A. Kmett
synopsis: Adjunctions and representable functors
description: Adjunctions and representable functors.
build-type: Simple
extra-source-files:
.gitignore
.vim.custom
HLint.hs
CHANGELOG.markdown
README.markdown
tested-with: GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.2
, GHC == 9.2.2
source-repository head
type: git
location: git://github.com/ekmett/adjunctions.git
library
hs-source-dirs: src
other-extensions:
CPP
FunctionalDependencies
FlexibleContexts
MultiParamTypeClasses
Rank2Types
UndecidableInstances
build-depends:
array >= 0.3.0.2 && < 0.7,
base >= 4 && < 5,
comonad >= 4 && < 6,
containers >= 0.3 && < 0.7,
contravariant >= 1 && < 2,
distributive >= 0.5.1 && < 1,
free >= 4 && < 6,
mtl >= 2.0.1 && < 2.4,
profunctors >= 4 && < 6,
tagged >= 0.7 && < 1,
semigroupoids >= 4 && < 7,
semigroups >= 0.11 && < 1,
transformers >= 0.2 && < 0.7,
transformers-compat >= 0.3 && < 1,
void >= 0.5.5.1 && < 1
if impl(ghc < 7.6)
build-depends: ghc-prim
exposed-modules:
Control.Comonad.Representable.Store
Control.Comonad.Trans.Adjoint
Control.Monad.Representable.Reader
Control.Monad.Representable.State
Control.Monad.Trans.Adjoint
Control.Monad.Trans.Contravariant.Adjoint
Control.Monad.Trans.Conts
Data.Functor.Adjunction
Data.Functor.Contravariant.Adjunction
Data.Functor.Contravariant.Rep
Data.Functor.Rep
ghc-options: -Wall
default-language: Haskell2010
if impl(ghc >= 8.0)
-- See https://ghc.haskell.org/trac/ghc/wiki/Migration/8.0#base-4.9.0.0
ghc-options: -Wcompat -Wnoncanonical-monad-instances
ghc-options: -Wno-trustworthy-safe -Wno-inline-rule-shadowing
if !impl(ghc >= 8.8)
ghc-options: -Wnoncanonical-monadfail-instances
if impl(ghc >= 8.6)
ghc-options: -Wno-star-is-type
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: tests
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
build-depends:
adjunctions,
base >= 4 && < 5,
distributive >= 0.5.1 && < 1,
generic-deriving >= 1.11 && < 2,
hspec >= 2 && < 3
main-is: Spec.hs
other-modules: GenericsSpec
ghc-options: -Wall -threaded -rtsopts
default-language: Haskell2010