Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-hackage-security for openSUSE:Factory checked in at 2024-04-12 17:34:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hackage-security (Old) and /work/SRC/openSUSE:Factory/.ghc-hackage-security.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hackage-security" Fri Apr 12 17:34:58 2024 rev:37 rq:1166986 version:0.6.2.6 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hackage-security/ghc-hackage-security.changes 2024-03-28 14:27:25.602370711 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hackage-security.new.26366/ghc-hackage-security.changes 2024-04-12 17:40:15.395842928 +0200 @@ -1,0 +2,12 @@ +Wed Apr 3 06:00:38 UTC 2024 - Peter Simons <psim...@suse.com> + +- Update hackage-security to version 0.6.2.6. + 0.6.2.6 + ------- + + * Drop flag `use-network-uri` and support for `network-2.5`. + * Fix build failure in testsuite with `tar-0.5` + ([PR #312](https://github.com/haskell/hackage-security/pull/312)). + * Tested with GHC 8.4 - 9.8. + +------------------------------------------------------------------- Old: ---- hackage-security-0.6.2.5.tar.gz New: ---- hackage-security-0.6.2.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hackage-security.spec ++++++ --- /var/tmp/diff_new_pack.hhQzf2/_old 2024-04-12 17:40:15.811858250 +0200 +++ /var/tmp/diff_new_pack.hhQzf2/_new 2024-04-12 17:40:15.811858250 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6.2.5 +Version: 0.6.2.6 Release: 0 Summary: Hackage security library License: BSD-3-Clause ++++++ hackage-security-0.6.2.5.tar.gz -> hackage-security-0.6.2.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hackage-security-0.6.2.5/ChangeLog.md new/hackage-security-0.6.2.6/ChangeLog.md --- old/hackage-security-0.6.2.5/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 +++ new/hackage-security-0.6.2.6/ChangeLog.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,5 +1,13 @@ See also http://pvp.haskell.org/faq +0.6.2.6 +------- + +* Drop flag `use-network-uri` and support for `network-2.5`. +* Fix build failure in testsuite with `tar-0.5` + ([PR #312](https://github.com/haskell/hackage-security/pull/312)). +* Tested with GHC 8.4 - 9.8. + 0.6.2.5 ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hackage-security-0.6.2.5/hackage-security.cabal new/hackage-security-0.6.2.6/hackage-security.cabal --- old/hackage-security-0.6.2.5/hackage-security.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/hackage-security-0.6.2.6/hackage-security.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: 1.12 name: hackage-security -version: 0.6.2.5 +version: 0.6.2.6 synopsis: Hackage security library description: The hackage security library provides both server and @@ -48,10 +48,6 @@ type: git location: https://github.com/haskell/hackage-security.git -flag use-network-uri - description: Are we using @network-uri@? - manual: False - flag Cabal-syntax description: Are we using Cabal-syntax? manual: False @@ -118,6 +114,8 @@ ed25519 >= 0.0 && < 0.1, filepath >= 1.4.2 && < 1.5, mtl >= 2.2.2 && < 2.4, + network-uri >= 2.6 && < 2.7, + network >= 2.6 && < 3.2, parsec >= 3.1.13 && < 3.2, pretty >= 1.0 && < 1.2, -- 0.4.2 introduces TarIndex, 0.4.4 introduces more @@ -126,7 +124,7 @@ template-haskell >= 2.13 && < 2.22, time >= 1.8.0.2 && < 1.13, transformers >= 0.3 && < 0.7, - zlib >= 0.5 && < 0.8, + zlib >= 0.5 && < 0.8, -- whatever versions are bundled with ghc: ghc-prim >= 0.5.2 && < 0.12 @@ -178,45 +176,6 @@ ghc-options: -Wall - -- The URI type got split out off the network package after version 2.5, and - -- moved to a separate network-uri package. Since we don't need the rest of - -- network here, it would suffice to rely only on network-uri: - -- - -- > if flag(use-network-uri) - -- > build-depends: network-uri >= 2.6 && < 2.7 - -- > else - -- > build-depends: network >= 2.5 && < 2.6 - -- - -- However, if we did the same in hackage-security-HTTP, Cabal would consider - -- those two flag choices (hackage-security:use-network-uri and - -- hackage-security-HTTP:use-network-uri) to be completely independent; but - -- they aren't: if it links hackage-security against network-uri and - -- hackage-security-HTTP against network, we will get type errors when - -- hackage-security-HTTP tries to pass a URI to hackage-security. - -- - -- It might seem we can solve this problem by re-exporting the URI type in - -- hackage-security and avoid the dependency in hackage-security-HTTP - -- altogether. However, this merely shifts the problem: hackage-security-HTTP - -- relies on the HTTP library which--surprise!--makes the same choice between - -- depending on network or network-uri. Cabal will not notice that we cannot - -- build hackage-security and hackage-security-HTTP against network-uri but - -- HTTP against network. - -- - -- We solve the problem by explicitly relying on network-2.6 when choosing - -- network-uri. This dependency is redundant, strictly speaking. However, it - -- serves as a proxy for forcing flag choices: since all packages in a - -- solution must be linked against the same version of network, having one - -- version of network in one branch of the conditional and another version of - -- network in the other branch forces the choice to be consistent throughout. - -- (Note that the HTTP library does the same thing, though in this case the - -- dependency in network is not redundant.) - if flag(use-network-uri) - build-depends: network-uri >= 2.6 && < 2.7, - network >= 2.6 && < 2.9 - || >= 3.0 && < 3.2 - else - build-depends: network >= 2.5 && < 2.6 - test-suite TestSuite type: exitcode-stdio-1.0 main-is: TestSuite.hs @@ -248,7 +207,8 @@ Cabal-syntax < 3.7 -- dependencies exclusive to test-suite - build-depends: tasty >= 1.2 && < 1.6, + build-depends: tasty >= 1.1.0.4 && < 1.6, + -- tasty-1.1.0.4 is the version in Stackage LTS 12.26 (GHC 8.4) tasty-hunit == 0.10.*, tasty-quickcheck == 0.10.*, QuickCheck >= 2.11 && <2.15, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hackage-security-0.6.2.5/tests/TestSuite.hs new/hackage-security-0.6.2.6/tests/TestSuite.hs --- old/hackage-security-0.6.2.5/tests/TestSuite.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/hackage-security-0.6.2.6/tests/TestSuite.hs 2001-09-09 03:46:40.000000000 +0200 @@ -264,7 +264,11 @@ _ -> fail "unexpected index entry content" _ -> fail "unexpected index path" +#if MIN_VERSION_tar(0,6,0) testEntries1 :: [Tar.GenEntry Tar.TarPath linkTarget] +#else + testEntries1 :: [Tar.Entry] +#endif testEntries1 = either (const []) (pure . (`Tar.fileEntry` testEntrycontent)) (Tar.toTarPath False "foo/preferred-versions") testEntrycontent = BS.pack "foo >= 1"