Accepting request 1075875 from devel:languages:haskell

update for ghc-9.4.4

OBS-URL: https://build.opensuse.org/request/show/1075875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-filepath-bytestring?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2023-04-04 19:20:01 +00:00 committed by Git OBS Bridge
commit 70b3e89bb6
4 changed files with 66 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,32 @@
-------------------------------------------------------------------
Thu Mar 30 17:06:47 UTC 2023 - Peter Simons <psimons@suse.com>
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
-------------------------------------------------------------------
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>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-filepath-bytestring
#
# Copyright (c) 2021 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,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