Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-filepath-bytestring for
openSUSE:Factory checked in at 2024-12-20 23:11:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-filepath-bytestring (Old)
and /work/SRC/openSUSE:Factory/.ghc-filepath-bytestring.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-filepath-bytestring"
Fri Dec 20 23:11:27 2024 rev:12 rq:1231510 version:1.5.2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-filepath-bytestring/ghc-filepath-bytestring.changes
2024-08-20 16:15:28.123308682 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-filepath-bytestring.new.1881/ghc-filepath-bytestring.changes
2024-12-20 23:12:25.608941148 +0100
@@ -1,0 +2,9 @@
+Tue Nov 6 14:36:38 UTC 2024 - Peter Simons <[email protected]>
+
+- Update filepath-bytestring to version 1.5.2.0.0.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+
http://hackage.haskell.org/package/filepath-bytestring-1.5.2.0.0/src/CHANGELOG
+
+-------------------------------------------------------------------
Old:
----
filepath-bytestring-1.4.100.3.2.tar.gz
New:
----
filepath-bytestring-1.5.2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-filepath-bytestring.spec ++++++
--- /var/tmp/diff_new_pack.g9H0kh/_old 2024-12-20 23:12:26.028958468 +0100
+++ /var/tmp/diff_new_pack.g9H0kh/_new 2024-12-20 23:12:26.032958633 +0100
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.4.100.3.2
+Version: 1.5.2.0.0
Release: 0
Summary: Library for manipulating RawFilePaths in a cross platform way
License: BSD-3-Clause
@@ -31,6 +31,8 @@
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-filepath-devel
+BuildRequires: ghc-filepath-prof
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
@@ -38,8 +40,6 @@
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
-BuildRequires: ghc-filepath-devel
-BuildRequires: ghc-filepath-prof
%endif
%description
@@ -92,6 +92,7 @@
%prep
%autosetup -n %{pkg_name}-%{version}
+cabal-tweak-dep-ver base '< 4.20' '< 5'
%build
%ghc_lib_build
++++++ filepath-bytestring-1.4.100.3.2.tar.gz ->
filepath-bytestring-1.5.2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filepath-bytestring-1.4.100.3.2/CHANGELOG
new/filepath-bytestring-1.5.2.0.0/CHANGELOG
--- old/filepath-bytestring-1.4.100.3.2/CHANGELOG 2001-09-09
03:46:40.000000000 +0200
+++ new/filepath-bytestring-1.5.2.0.0/CHANGELOG 2001-09-09 03:46:40.000000000
+0200
@@ -1,19 +1,16 @@
-filepath-bytestring (1.4.100.3.2) unstable; urgency=medium
+filepath-bytestring (1.5.2.0.0) unstable; urgency=medium
- * Relax bounds to allow base-4.19.
+ * Update to correspond to filepath-1.5.2.0, which fixes a bug
+ introduced in filepath-1.4.100.2.
+ * normalise C:\\\\ to C:\
- -- Joey Hess <[email protected]> Mon, 29 Jul 2024 19:40:51 -0400
-
-filepath-bytestring (1.4.100.3.1) unstable; urgency=medium
-
- * Updated to filepath-1.4.100.3, which fixes a regression.
- * Allow up to filepath-1.4.200.1.
-
- -- Joey Hess <[email protected]> Mon, 29 Jul 2024 19:27:57 -0400
+ -- Joey Hess <[email protected]> Tue, 06 Feb 2024 10:33:31 -0400
filepath-bytestring (1.4.2.1.13) unstable; urgency=medium
* Relax bounds to allow base-4.18 and filepath-1.4.100.3 (ghc 9.6).
+ (Note that this version did not replicate a bug introduced in
+ filepath-1.4.100.2. So the test suite would sometimes fail.)
-- Joey Hess <[email protected]> Tue, 20 Jun 2023 12:22:31 -0400
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/filepath-bytestring-1.4.100.3.2/System/FilePath/Internal.hs
new/filepath-bytestring-1.5.2.0.0/System/FilePath/Internal.hs
--- old/filepath-bytestring-1.4.100.3.2/System/FilePath/Internal.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/filepath-bytestring-1.5.2.0.0/System/FilePath/Internal.hs
2001-09-09 03:46:40.000000000 +0200
@@ -964,6 +964,7 @@
-- > Posix: normalise "./bob/fred/" == "bob/fred/"
-- > Windows: normalise "c:\\file/bob\\" == "C:\\file\\bob\\"
-- > Windows: normalise "c:\\" == "C:\\"
+-- > Windows: normalise "c:\\\\\\\\" == "C:\\"
-- > Windows: normalise "C:.\\" == "C:"
-- > Windows: normalise "\\\\server\\test" == "\\\\server\\test"
-- > Windows: normalise "//server/test" == "\\\\server\\test"
@@ -1012,9 +1013,14 @@
normaliseDrive :: RawFilePath -> RawFilePath
normaliseDrive "" = ""
normaliseDrive _ | isPosix = B.singleton pathSeparator
-normaliseDrive drive
- | isJust (readDriveLetter x2) = upcasedriveletter x2
- | otherwise = x2
+normaliseDrive drive =
+ case readDriveLetter x2 of
+ Nothing -> x2
+ Just (drv, _) ->
+ case B.unpack drv of
+ (x:_:[]) -> B.pack [upcasedriveletter x, colon]
+ (x:_) -> B.pack [upcasedriveletter x, colon, pathSeparator]
+ _ -> error "impossible"
where
x2 = B.map repSlash drive
@@ -1022,7 +1028,8 @@
-- A Windows drive letter is an ascii character, so it's safe to
-- operate on the ByteString containing it using B8.
- upcasedriveletter = B8.map toUpper
+ upcasedriveletter = fromIntegral . ord . toUpper . chr . fromIntegral
+ colon = fromIntegral (ord ':')
-- Information for validity functions on Windows. See [1].
isBadCharacter :: Word8 -> Bool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/filepath-bytestring-1.4.100.3.2/filepath-bytestring.cabal
new/filepath-bytestring-1.5.2.0.0/filepath-bytestring.cabal
--- old/filepath-bytestring-1.4.100.3.2/filepath-bytestring.cabal
2001-09-09 03:46:40.000000000 +0200
+++ new/filepath-bytestring-1.5.2.0.0/filepath-bytestring.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 1.18
name: filepath-bytestring
-version: 1.4.100.3.2
+version: 1.5.2.0.0
-- NOTE: Don't forget to update CHANGELOG and the filepath dependency below
license: BSD3
license-file: LICENSE
@@ -54,7 +54,8 @@
build-depends:
base >= 4 && < 4.20,
- bytestring >= 0.11.2.0
+ bytestring >= 0.11.3.0,
+ filepath == 1.5.2.0
if os(Windows)
build-depends: utf8-string
else
@@ -79,7 +80,7 @@
QuickCheck >= 2.7 && < 2.15,
-- Versions of filepath that are equvilant to this
-- library, for quickcheck equivilance tests.
- filepath >= 1.4.100.3 && <= 1.4.200.1
+ filepath == 1.5.2.0
benchmark filepath-bench
type: exitcode-stdio-1.0
@@ -92,4 +93,4 @@
criterion,
filepath-bytestring,
-- Version of filepath to benchmark against
- filepath >= 1.4.100.3 && <= 1.4.200.1
+ filepath >= 1.4.2 && <= 1.4.2.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/filepath-bytestring-1.4.100.3.2/tests/TestGen.hs
new/filepath-bytestring-1.5.2.0.0/tests/TestGen.hs
--- old/filepath-bytestring-1.4.100.3.2/tests/TestGen.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/filepath-bytestring-1.5.2.0.0/tests/TestGen.hs 2001-09-09
03:46:40.000000000 +0200
@@ -395,6 +395,7 @@
,("P.normalise \"./bob/fred/\" == \"bob/fred/\"", property $ P.normalise
"./bob/fred/" == "bob/fred/")
,("W.normalise \"c:\\\\file/bob\\\\\" == \"C:\\\\file\\\\bob\\\\\"",
property $ W.normalise "c:\\file/bob\\" == "C:\\file\\bob\\")
,("W.normalise \"c:\\\\\" == \"C:\\\\\"", property $ W.normalise "c:\\" ==
"C:\\")
+ ,("W.normalise \"c:\\\\\\\\\\\\\\\\\" == \"C:\\\\\"", property $
W.normalise "c:\\\\\\\\" == "C:\\")
,("W.normalise \"C:.\\\\\" == \"C:\"", property $ W.normalise "C:.\\" ==
"C:")
,("W.normalise \"\\\\\\\\server\\\\test\" == \"\\\\\\\\server\\\\test\"",
property $ W.normalise "\\\\server\\test" == "\\\\server\\test")
,("W.normalise \"//server/test\" == \"\\\\\\\\server\\\\test\"", property
$ W.normalise "//server/test" == "\\\\server\\test")