Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cabal-install for openSUSE:Factory 
checked in at 2023-04-04 21:25:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cabal-install (Old)
 and      /work/SRC/openSUSE:Factory/.cabal-install.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cabal-install"

Tue Apr  4 21:25:27 2023 rev:36 rq:1076401 version:3.8.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cabal-install/cabal-install.changes      
2022-02-11 23:09:31.602966310 +0100
+++ /work/SRC/openSUSE:Factory/.cabal-install.new.19717/cabal-install.changes   
2023-04-04 21:25:41.590988972 +0200
@@ -1,0 +2,34 @@
+Thu Mar 30 17:05:38 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Sun Feb 26 17:40:50 UTC 2023 - Peter Simons <[email protected]>
+
+- Update cabal-install to version 3.8.1.0 revision 3.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Thu Oct 20 17:27:43 UTC 2022 - Peter Simons <[email protected]>
+
+- Update cabal-install to version 3.8.1.0 revision 2.
+  3.8.1.0 Mikolaj Konarski <[email protected]> August 2022
+       * See 
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.8.1.0.md
+
+  3.6.2.0 Emily Pillmore <[email protected]> October 2021
+       * See 
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.6.2.0.md
+
+  3.6.0.0 Emily Pillmore <[email protected]> August 2021
+       * See 
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.6.0.0.md
+
+  3.4.1.0 Emily Pillmore <[email protected]> October 2021
+       * See 
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.1.0.md
+
+  3.4.0.0 Oleg Grenrus <[email protected]> February 2021
+       * See 
https://github.com/haskell/cabal/blob/master/release-notes/cabal-install-3.4.0.0.md
+
+- Remove obsolete "ghc-8.10-support-for-3.2.patch".
+
+- Remove obsolete "base16-bytestring.patch".
+
+-------------------------------------------------------------------

Old:
----
  base16-bytestring.patch
  cabal-install-3.2.0.0.tar.gz
  ghc-8.10-support-for-3.2.patch

New:
----
  cabal-install-3.8.1.0.tar.gz

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

Other differences:
------------------
++++++ cabal-install.spec ++++++
--- /var/tmp/diff_new_pack.ZsTIcV/_old  2023-04-04 21:25:42.146992128 +0200
+++ /var/tmp/diff_new_pack.ZsTIcV/_new  2023-04-04 21:25:42.150992151 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cabal-install
 #
-# 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
@@ -16,68 +16,177 @@
 #
 
 
-Name:           cabal-install
-Version:        3.2.0.0
+%global pkg_name cabal-install
+%global pkgver %{pkg_name}-%{version}
+%bcond_with tests
+Name:           %{pkg_name}
+Version:        3.8.1.0
 Release:        0
 Summary:        The command-line interface for Cabal and Hackage
 License:        BSD-3-Clause
 URL:            https://hackage.haskell.org/package/%{name}
 Source0:        
https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
-Patch01:        ghc-8.10-support-for-3.2.patch
-Patch02:        base16-bytestring.patch
+Source1:        
https://hackage.haskell.org/package/%{name}-%{version}/revision/3.cabal#/%{name}.cabal
+BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-Cabal-prof
+BuildRequires:  ghc-Cabal-syntax-devel
+BuildRequires:  ghc-Cabal-syntax-prof
 BuildRequires:  ghc-HTTP-devel
+BuildRequires:  ghc-HTTP-prof
 BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-array-prof
 BuildRequires:  ghc-async-devel
+BuildRequires:  ghc-async-prof
+BuildRequires:  ghc-base-devel
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-base16-bytestring-devel
+BuildRequires:  ghc-base16-bytestring-prof
 BuildRequires:  ghc-binary-devel
+BuildRequires:  ghc-binary-prof
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-bytestring-prof
+BuildRequires:  ghc-cabal-install-solver-devel
+BuildRequires:  ghc-cabal-install-solver-prof
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-containers-prof
 BuildRequires:  ghc-cryptohash-sha256-devel
-BuildRequires:  ghc-deepseq-devel
+BuildRequires:  ghc-cryptohash-sha256-prof
 BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-directory-prof
 BuildRequires:  ghc-echo-devel
+BuildRequires:  ghc-echo-prof
 BuildRequires:  ghc-edit-distance-devel
+BuildRequires:  ghc-edit-distance-prof
+BuildRequires:  ghc-exceptions-devel
+BuildRequires:  ghc-exceptions-prof
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-filepath-prof
 BuildRequires:  ghc-hackage-security-devel
+BuildRequires:  ghc-hackage-security-prof
 BuildRequires:  ghc-hashable-devel
+BuildRequires:  ghc-hashable-prof
 BuildRequires:  ghc-lukko-devel
+BuildRequires:  ghc-lukko-prof
 BuildRequires:  ghc-mtl-devel
-BuildRequires:  ghc-network-devel
+BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-network-uri-devel
+BuildRequires:  ghc-network-uri-prof
 BuildRequires:  ghc-parsec-devel
+BuildRequires:  ghc-parsec-prof
 BuildRequires:  ghc-pretty-devel
+BuildRequires:  ghc-pretty-prof
 BuildRequires:  ghc-process-devel
+BuildRequires:  ghc-process-prof
 BuildRequires:  ghc-random-devel
+BuildRequires:  ghc-random-prof
+BuildRequires:  ghc-regex-base-devel
+BuildRequires:  ghc-regex-base-prof
+BuildRequires:  ghc-regex-posix-devel
+BuildRequires:  ghc-regex-posix-prof
 BuildRequires:  ghc-resolv-devel
+BuildRequires:  ghc-resolv-prof
 BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-safe-exceptions-devel
+BuildRequires:  ghc-safe-exceptions-prof
 BuildRequires:  ghc-stm-devel
+BuildRequires:  ghc-stm-prof
 BuildRequires:  ghc-tar-devel
+BuildRequires:  ghc-tar-prof
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-text-prof
 BuildRequires:  ghc-time-devel
-BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-time-prof
 BuildRequires:  ghc-unix-devel
+BuildRequires:  ghc-unix-prof
 BuildRequires:  ghc-zlib-devel
+BuildRequires:  ghc-zlib-prof
 ExcludeArch:    %{ix86}
+%if %{with tests}
+BuildRequires:  ghc-Cabal-QuickCheck-devel
+BuildRequires:  ghc-Cabal-QuickCheck-prof
+BuildRequires:  ghc-Cabal-described-devel
+BuildRequires:  ghc-Cabal-described-prof
+BuildRequires:  ghc-Cabal-tree-diff-devel
+BuildRequires:  ghc-Cabal-tree-diff-prof
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-QuickCheck-prof
+BuildRequires:  ghc-pretty-show-devel
+BuildRequires:  ghc-pretty-show-prof
+BuildRequires:  ghc-tagged-devel
+BuildRequires:  ghc-tagged-prof
+BuildRequires:  ghc-tasty-devel
+BuildRequires:  ghc-tasty-expected-failure-devel
+BuildRequires:  ghc-tasty-expected-failure-prof
+BuildRequires:  ghc-tasty-golden-devel
+BuildRequires:  ghc-tasty-golden-prof
+BuildRequires:  ghc-tasty-hunit-devel
+BuildRequires:  ghc-tasty-hunit-prof
+BuildRequires:  ghc-tasty-prof
+BuildRequires:  ghc-tasty-quickcheck-devel
+BuildRequires:  ghc-tasty-quickcheck-prof
+BuildRequires:  ghc-tree-diff-devel
+BuildRequires:  ghc-tree-diff-prof
+%endif
 
 %description
 The 'cabal' command-line program simplifies the process of managing Haskell
 software by automating the fetching, configuration, compilation and
 installation of Haskell libraries and programs.
 
+%package -n ghc-%{name}
+Summary:        Haskell %{name} library
+
+%description -n ghc-%{name}
+This package provides the Haskell %{name} shared library.
+
+%package -n ghc-%{name}-devel
+Summary:        Haskell %{name} library development files
+Requires:       ghc-%{name} = %{version}-%{release}
+Requires:       ghc-compiler = %{ghc_version}
+Requires(post): ghc-compiler = %{ghc_version}
+Requires(postun): ghc-compiler = %{ghc_version}
+
+%description -n ghc-%{name}-devel
+This package provides the Haskell %{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 -p2
+%autosetup
 cp -p %{SOURCE1} %{name}.cabal
-cabal-tweak-dep-ver random '< 1.2' '< 1.3'
-cabal-tweak-dep-ver base '< 4.14' '< 5'
-cabal-tweak-dep-ver base16-bytestring '< 0.2' '< 2'
 
 %build
-%ghc_bin_build
+%ghc_lib_build
 
 %install
-%ghc_bin_install
+%ghc_lib_install
+%ghc_fix_rpath %{pkg_name}-%{version}
+mkdir -p %{buildroot}%{_mandir}/man1
+%{buildroot}%{_bindir}/cabal man --raw >%{buildroot}%{_mandir}/man1/cabal.1
+
+%check
+%cabal_test
+
+%post -n ghc-%{name}-devel
+%ghc_pkg_recache
+
+%postun -n ghc-%{name}-devel
+%ghc_pkg_recache
 
 %files
 %license LICENSE
@@ -85,4 +194,15 @@
 %{_bindir}/cabal
 %{_mandir}/man1/cabal.1%{?ext_man}
 
+%files -n ghc-%{name} -f ghc-%{name}.files
+%license LICENSE
+
+%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
+%doc README.md changelog
+
+%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

++++++ cabal-install-3.2.0.0.tar.gz -> cabal-install-3.8.1.0.tar.gz ++++++
++++ 133992 lines of diff (skipped)

++++++ cabal-install.cabal ++++++
++++ 632 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/cabal-install/cabal-install.cabal
++++ and /work/SRC/openSUSE:Factory/.cabal-install.new.19717/cabal-install.cabal

Reply via email to