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
This commit is contained in:
Peter Simons 2023-03-30 08:26:23 +00:00 committed by Git OBS Bridge
parent 8464da9ca5
commit e88aeb44a2
4 changed files with 61 additions and 5 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:581f7193f505d4c4eefc9b9153a3167d67ff6ad7e36eba315b01a2ef88381245
size 26127

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67d29d1d452230f37d15d209a14be3309c2c10798a6442a889abfed92be94bb6
size 25901

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sat Oct 22 13:07:23 UTC 2022 - Peter Simons <psimons@suse.com>
- 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 <id@joeyh.name> 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 <id@joeyh.name> 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 <id@joeyh.name> Wed, 08 Dec 2021 18:55:24 -0400
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 3 15:52:06 UTC 2021 - Peter Simons <psimons@suse.com> Fri Dec 3 15:52:06 UTC 2021 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-filepath-bytestring # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,22 +17,29 @@
%global pkg_name filepath-bytestring %global pkg_name filepath-bytestring
%global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.4.2.1.9 Version: 1.4.2.1.12
Release: 0 Release: 0
Summary: Library for manipulating RawFilePaths in a cross platform way Summary: Library for manipulating RawFilePaths in a cross platform way
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-bytestring-devel BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-bytestring-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-unix-devel BuildRequires: ghc-unix-devel
BuildRequires: ghc-unix-prof
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests} %if %{with tests}
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-filepath-devel BuildRequires: ghc-filepath-devel
BuildRequires: ghc-filepath-prof
%endif %endif
%description %description
@ -52,6 +59,10 @@ platform.
All three modules provide the same API, and the same documentation (calling out All three modules provide the same API, and the same documentation (calling out
differences in the different variants). 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 %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -63,6 +74,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{pkg_name} library development This package provides the Haskell %{pkg_name} library development
files. 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 %prep
%autosetup -n %{pkg_name}-%{version} %autosetup -n %{pkg_name}-%{version}
@ -87,4 +114,9 @@ files.
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc CHANGELOG README.md TODO %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 %changelog