Script 'mail_helper' called by obssrc
Hello community,

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

Package is "cabal-plan"

Tue Apr  4 21:18:14 2023 rev:10 rq:1075751 version:0.7.2.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/cabal-plan/cabal-plan.changes    2022-10-12 
18:25:12.773742628 +0200
+++ /work/SRC/openSUSE:Factory/.cabal-plan.new.19717/cabal-plan.changes 
2023-04-04 21:18:16.584370235 +0200
@@ -1,0 +2,17 @@
+Thu Mar 30 17:05:39 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Fri Sep 23 10:21:08 UTC 2022 - Peter Simons <[email protected]>
+
+- Update cabal-plan to version 0.7.2.3.
+  ## 0.7.2.3
+
+  * Fix issue in previous release (license generation didn't work at all)
+
+  ## 0.7.2.2
+
+  * Use Cabal-syntax-3.8.1.0
+
+-------------------------------------------------------------------

Old:
----
  cabal-plan-0.7.2.1.tar.gz
  cabal-plan.cabal

New:
----
  cabal-plan-0.7.2.3.tar.gz

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

Other differences:
------------------
++++++ cabal-plan.spec ++++++
--- /var/tmp/diff_new_pack.52r8eD/_old  2023-04-04 21:18:17.152373857 +0200
+++ /var/tmp/diff_new_pack.52r8eD/_new  2023-04-04 21:18:17.156373882 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package cabal-plan
 #
-# 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,38 +17,61 @@
 
 
 %global pkg_name cabal-plan
+%global pkgver %{pkg_name}-%{version}
 Name:           %{pkg_name}
-Version:        0.7.2.1
+Version:        0.7.2.3
 Release:        0
 Summary:        Library and utility for processing cabal's plan.json file
 License:        GPL-2.0-or-later
 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
 BuildRequires:  chrpath
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-aeson-devel
+BuildRequires:  ghc-aeson-prof
 BuildRequires:  ghc-ansi-terminal-devel
+BuildRequires:  ghc-ansi-terminal-prof
 BuildRequires:  ghc-async-devel
+BuildRequires:  ghc-async-prof
 BuildRequires:  ghc-base-compat-devel
+BuildRequires:  ghc-base-compat-prof
+BuildRequires:  ghc-base-devel
+BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-base16-bytestring-devel
+BuildRequires:  ghc-base16-bytestring-prof
 BuildRequires:  ghc-bytestring-devel
+BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-containers-devel
+BuildRequires:  ghc-containers-prof
 BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-directory-prof
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-filepath-prof
 BuildRequires:  ghc-mtl-devel
+BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-optics-core-devel
+BuildRequires:  ghc-optics-core-prof
 BuildRequires:  ghc-optparse-applicative-devel
+BuildRequires:  ghc-optparse-applicative-prof
 BuildRequires:  ghc-parsec-devel
+BuildRequires:  ghc-parsec-prof
 BuildRequires:  ghc-process-devel
+BuildRequires:  ghc-process-prof
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-semialign-devel
+BuildRequires:  ghc-semialign-prof
 BuildRequires:  ghc-singleton-bool-devel
+BuildRequires:  ghc-singleton-bool-prof
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-text-prof
 BuildRequires:  ghc-these-devel
+BuildRequires:  ghc-these-prof
 BuildRequires:  ghc-topograph-devel
+BuildRequires:  ghc-topograph-prof
 BuildRequires:  ghc-transformers-devel
+BuildRequires:  ghc-transformers-prof
 BuildRequires:  ghc-vector-devel
+BuildRequires:  ghc-vector-prof
 ExcludeArch:    %{ix86}
 
 %description
@@ -78,7 +101,7 @@
 (<src/example/cabal-plan.html Pandoc rendered HTML>)
 
 See also ["New things in Haskell package QA"
-Blogpost](http://oleg.fi/gists/posts/2018-01-08-haskell-package-qa.html) for a
+Blogpost](https://oleg.fi/gists/posts/2018-01-08-haskell-package-qa.html) for a
 description of the 'topo' and 'dot' operations as well as how to enable
 tab-completion.
 
@@ -98,10 +121,24 @@
 %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
-cp -p %{SOURCE1} %{name}.cabal
-cabal-tweak-dep-ver optparse-applicative '^>= 0.16.0.0' '< 1'
 
 %build
 %define cabal_configure_options -fexe
@@ -130,4 +167,10 @@
 %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
 %doc ChangeLog.md example
 
+%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%license LICENSE.GPLv2
+%license LICENSE.GPLv3
+
+%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+
 %changelog

++++++ cabal-plan-0.7.2.1.tar.gz -> cabal-plan-0.7.2.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.2.1/ChangeLog.md 
new/cabal-plan-0.7.2.3/ChangeLog.md
--- old/cabal-plan-0.7.2.1/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
+++ new/cabal-plan-0.7.2.3/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,13 @@
 # Revision history for `cabal-plan`
 
+## 0.7.2.3
+
+* Fix issue in previous release (license generation didn't work at all)
+
+## 0.7.2.2
+
+* Use Cabal-syntax-3.8.1.0
+
 ## 0.7.2.1
 
 * Support Cabal-3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.2.1/cabal-plan.cabal 
new/cabal-plan-0.7.2.3/cabal-plan.cabal
--- old/cabal-plan-0.7.2.1/cabal-plan.cabal     2001-09-09 03:46:40.000000000 
+0200
+++ new/cabal-plan-0.7.2.3/cabal-plan.cabal     2001-09-09 03:46:40.000000000 
+0200
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                cabal-plan
-version:             0.7.2.1
+version:             0.7.2.3
 
 synopsis:            Library and utility for processing cabal's plan.json file
 description: {
@@ -25,7 +25,7 @@
 [topo] Print plan topologically sorted
 [license-report] Generate license report for a component (only available when 
built with @license-report@ flag enabled); see <src/example/cabal-plan.md 
report example for cabal-plan> (<src/example/cabal-plan.html Pandoc rendered 
HTML>)
 .
-See also ["New things in Haskell package QA" 
Blogpost](http://oleg.fi/gists/posts/2018-01-08-haskell-package-qa.html) for a 
description of the @topo@ and @dot@ operations as well as how to enable 
tab-completion.
+See also ["New things in Haskell package QA" 
Blogpost](https://oleg.fi/gists/posts/2018-01-08-haskell-package-qa.html) for a 
description of the @topo@ and @dot@ operations as well as how to enable 
tab-completion.
 }
 
 bug-reports:         https://github.com/hvr/cabal-plan/issues
@@ -38,8 +38,10 @@
 build-type:          Simple
 
 tested-with:
-  GHC==9.0.1,
-  GHC==8.10.4,
+  GHC==9.4.1,
+  GHC==9.2.4,
+  GHC==9.0.2,
+  GHC==8.10.7,
   GHC==8.8.4,
   GHC==8.6.5,
   GHC==8.4.4,
@@ -74,13 +76,13 @@
                        RecordWildCards
   exposed-modules:     Cabal.Plan
 
-  build-depends:       base              ^>= 4.10 || ^>=4.11 || ^>=4.12 || 
^>=4.13 || ^>=4.14 || ^>=4.15
-                     , aeson             ^>= 1.5.4.0 || ^>= 2.0.0.0
-                     , bytestring        ^>= 0.10.8.0
+  build-depends:       base              ^>= 4.10.0.0 || ^>=4.11.0.0 || 
^>=4.12.0.0 || ^>=4.13.0.0 || ^>=4.14.0.0 || ^>=4.15.0.0 || ^>=4.16.0.0 || 
^>=4.17.0.0
+                     , aeson             ^>= 2.0.0.0 || ^>=2.1.0.0
+                     , bytestring        ^>= 0.10.8.0 || ^>=0.11.1.0
                      , containers        ^>= 0.5.10 || ^>= 0.6.0.1
-                     , text              ^>= 1.2.3
-                     , directory         ^>= 1.3.0
-                     , filepath          ^>= 1.4.1
+                     , text              ^>= 1.2.3 || ^>=2.0.1
+                     , directory         ^>= 1.3.0.2
+                     , filepath          ^>= 1.4.1.2
                      , base16-bytestring ^>= 1.0.0.0
 
   hs-source-dirs:      src
@@ -112,23 +114,21 @@
     build-depends: mtl            ^>= 2.2.2
                  , async          ^>= 2.2.2
                  , ansi-terminal  ^>= 0.11
-                 , base-compat    ^>= 0.11 || ^>=0.12
+                 , base-compat    ^>= 0.12
                  , optics-core    ^>= 0.4
-                 , optparse-applicative ^>= 0.16.0.0
+                 , optparse-applicative ^>=0.17.0.0
                  , parsec         ^>= 3.1.13
                  , process        ^>= 1.6.1.0
                  , semialign      ^>= 1.2
                  , singleton-bool ^>= 0.1.5
                  , these          ^>= 1.1
-                 , topograph      ^>= 1
+                 , topograph      ^>= 1.0.0.2
                  , transformers   ^>= 0.5.2.0
-                 , vector         ^>= 0.12.0.1
+                 , vector         ^>= 0.12.0.1 || ^>=0.13.0.0
 
     if flag(license-report)
-      -- we define orphan instance
-      -- https://github.com/haskell/cabal/issues/7582
-      build-depends: Cabal    ^>=3.6.2.0
-                   , cabal-install-parsers ^>=0.4
+      build-depends: Cabal-syntax    ^>=3.8.1.0
+                   , cabal-install-parsers ^>=0.5
                    , tar      ^>= 0.5.1.0
                    , zlib     ^>= 0.6.2
                    , filepath ^>= 1.4.1.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.2.1/src-exe/LicenseReport.hs 
new/cabal-plan-0.7.2.3/src-exe/LicenseReport.hs
--- old/cabal-plan-0.7.2.1/src-exe/LicenseReport.hs     2001-09-09 
03:46:40.000000000 +0200
+++ new/cabal-plan-0.7.2.3/src-exe/LicenseReport.hs     2001-09-09 
03:46:40.000000000 +0200
@@ -9,7 +9,7 @@
     ( generateLicenseReport
     ) where
 
-#if defined(MIN_VERSION_Cabal)
+#if defined(MIN_VERSION_Cabal_syntax)
 import           Cabal.Plan
 import qualified Codec.Archive.Tar                      as Tar
 import qualified Codec.Archive.Tar.Entry                as Tar
@@ -40,9 +40,7 @@
 
 import Cabal.Config (readConfig, Config (..), cfgRepoIndex, hackageHaskellOrg)
 
-#if MIN_VERSION_Cabal(3,2,0)
 import          Distribution.Utils.ShortText            (fromShortText)
-#endif
 
 -- | Read tarball lazily (and possibly decompress)
 readTarEntries :: FilePath -> IO [Tar.Entry]
@@ -168,9 +166,7 @@
                      parseGenericPackageDescriptionMaybe x
 
               let desc = escapeDesc
-#if MIN_VERSION_Cabal(3,2,0)
                        $ fromShortText
-#endif
                        $ synopsis $ packageDescription gpd
                   lic  = license  $ packageDescription gpd
                   -- cr   = copyright $ packageDescription gpd
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cabal-plan-0.7.2.1/src-exe/cabal-plan.hs 
new/cabal-plan-0.7.2.3/src-exe/cabal-plan.hs
--- old/cabal-plan-0.7.2.1/src-exe/cabal-plan.hs        2001-09-09 
03:46:40.000000000 +0200
+++ new/cabal-plan-0.7.2.3/src-exe/cabal-plan.hs        2001-09-09 
03:46:40.000000000 +0200
@@ -152,16 +152,18 @@
         components = findComponents plan
 
     -- One scenario
-    -- $ cabal-plan list-bin cab<TAB>
-    -- $ cabal-plan list-bin cabal-plan<TAB>
-    -- $ cabal-plan list-bin cabal-plan:exe:cabal-plan
+    --
+    -- cabal-plan list-bin cab<TAB>
+    -- cabal-plan list-bin cabal-plan<TAB>
+    -- cabal-plan list-bin cabal-plan:exe:cabal-plan
     --
     -- Note: if this package had `tests` -suite, then we can
-    -- $ cabal-plan list-bin te<TAB>
-    -- $ cabal-plan list-bin tests<TAB>
-    -- $ cabal-plan list-bin cabal-plan:test:tests
     --
-    -- *BUT* at least zsh script have to be changed to complete from 
non-prefix.
+    -- cabal-plan list-bin te<TAB>
+    -- cabal-plan list-bin tests<TAB>
+    -- cabal-plan list-bin cabal-plan:test:tests
+    --
+    -- BUT at least zsh script have to be changed to complete from non-prefix.
     return $ map T.unpack $ firstNonEmpty
         -- 1. if tpfx matches component exacty, return full path
         [ single $ map fst $ filter ((tpfx ==) . snd) components

Reply via email to