From e88aeb44a2e4c6bb3a0909317d29a110607b0d4d882ad3073e1e13254d969761 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:23 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-filepath-bytestring revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-filepath-bytestring?expand=0&rev=16 --- filepath-bytestring-1.4.2.1.12.tar.gz | 3 +++ filepath-bytestring-1.4.2.1.9.tar.gz | 3 --- ghc-filepath-bytestring.changes | 24 ++++++++++++++++++ ghc-filepath-bytestring.spec | 36 +++++++++++++++++++++++++-- 4 files changed, 61 insertions(+), 5 deletions(-) create mode 100644 filepath-bytestring-1.4.2.1.12.tar.gz delete mode 100644 filepath-bytestring-1.4.2.1.9.tar.gz diff --git a/filepath-bytestring-1.4.2.1.12.tar.gz b/filepath-bytestring-1.4.2.1.12.tar.gz new file mode 100644 index 0000000..e2f3688 --- /dev/null +++ b/filepath-bytestring-1.4.2.1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:581f7193f505d4c4eefc9b9153a3167d67ff6ad7e36eba315b01a2ef88381245 +size 26127 diff --git a/filepath-bytestring-1.4.2.1.9.tar.gz b/filepath-bytestring-1.4.2.1.9.tar.gz deleted file mode 100644 index 1ea91b8..0000000 --- a/filepath-bytestring-1.4.2.1.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67d29d1d452230f37d15d209a14be3309c2c10798a6442a889abfed92be94bb6 -size 25901 diff --git a/ghc-filepath-bytestring.changes b/ghc-filepath-bytestring.changes index 1323d6a..f6d4ef8 100644 --- a/ghc-filepath-bytestring.changes +++ b/ghc-filepath-bytestring.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sat Oct 22 13:07:23 UTC 2022 - Peter Simons + +- Update filepath-bytestring to version 1.4.2.1.12. + filepath-bytestring (1.4.2.1.12) unstable; urgency=medium + + * Relax bounds to allow base 4.17 (ghc 9.4). + + -- Joey Hess Thu, 20 Oct 2022 13:25:40 -0400 + + filepath-bytestring (1.4.2.1.11) unstable; urgency=medium + + * Deprecated this library, since filepath has added OsPath that + is based on a bytestring. + + -- Joey Hess Sat, 23 Jul 2022 12:41:53 -0400 + + filepath-bytestring (1.4.2.1.10) unstable; urgency=medium + + * Depend on bytestring-0.11.2.0, and use it to implement encodeFilePath + and decodeFilePath, whose code was previously copied from it. + + -- Joey Hess Wed, 08 Dec 2021 18:55:24 -0400 + ------------------------------------------------------------------- Fri Dec 3 15:52:06 UTC 2021 - Peter Simons diff --git a/ghc-filepath-bytestring.spec b/ghc-filepath-bytestring.spec index 94d9b71..a549a66 100644 --- a/ghc-filepath-bytestring.spec +++ b/ghc-filepath-bytestring.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-filepath-bytestring # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,29 @@ %global pkg_name filepath-bytestring +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.4.2.1.9 +Version: 1.4.2.1.12 Release: 0 Summary: Library for manipulating RawFilePaths in a cross platform way License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-unix-devel +BuildRequires: ghc-unix-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-filepath-devel +BuildRequires: ghc-filepath-prof %endif %description @@ -52,6 +59,10 @@ platform. All three modules provide the same API, and the same documentation (calling out differences in the different variants). +This package is now deprecated, since filepath 1.4.100.0 provides an OsPath +type that is based on a bytestring. See +https://hasufell.github.io/posts/2022-06-29-fixing-haskell-filepaths.html. + %package devel Summary: Haskell %{pkg_name} library development files Requires: %{name} = %{version}-%{release} @@ -63,6 +74,22 @@ Requires(postun): ghc-compiler = %{ghc_version} 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} @@ -87,4 +114,9 @@ files. %files devel -f %{name}-devel.files %doc CHANGELOG README.md TODO +%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