Accepting request 1076098 from devel:languages:haskell
update for ghc-9.4.4 OBS-URL: https://build.opensuse.org/request/show/1076098 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-unicode-transforms?expand=0&rev=20
This commit is contained in:
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 30 17:08:47 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 14 07:26:57 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update unicode-transforms to version 0.4.0.1 revision 3.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 20 15:41:04 UTC 2022 - Peter Simons <psimons@suse.com>
|
Thu Oct 20 15:41:04 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-unicode-transforms
|
# spec file for package ghc-unicode-transforms
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 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,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%global pkg_name unicode-transforms
|
%global pkg_name unicode-transforms
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.4.0.1
|
Version: 0.4.0.1
|
||||||
@@ -25,18 +26,27 @@ Summary: Unicode normalization
|
|||||||
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
|
||||||
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal
|
Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/3.cabal#/%{pkg_name}.cabal
|
||||||
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-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
|
BuildRequires: ghc-text-prof
|
||||||
BuildRequires: ghc-unicode-data-devel
|
BuildRequires: ghc-unicode-data-devel
|
||||||
|
BuildRequires: ghc-unicode-data-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-deepseq-devel
|
BuildRequires: ghc-deepseq-devel
|
||||||
|
BuildRequires: ghc-deepseq-prof
|
||||||
BuildRequires: ghc-hspec-devel
|
BuildRequires: ghc-hspec-devel
|
||||||
|
BuildRequires: ghc-hspec-prof
|
||||||
BuildRequires: ghc-split-devel
|
BuildRequires: ghc-split-devel
|
||||||
|
BuildRequires: ghc-split-prof
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -53,6 +63,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}
|
||||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
@@ -78,4 +104,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal
|
|||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%doc Changelog.md README.md
|
%doc Changelog.md README.md
|
||||||
|
|
||||||
|
%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
|
||||||
|
@@ -2,7 +2,7 @@ cabal-version: 2.2
|
|||||||
|
|
||||||
name: unicode-transforms
|
name: unicode-transforms
|
||||||
version: 0.4.0.1
|
version: 0.4.0.1
|
||||||
x-revision: 2
|
x-revision: 3
|
||||||
synopsis: Unicode normalization
|
synopsis: Unicode normalization
|
||||||
description: Fast Unicode 14.0.0 normalization in Haskell (NFC, NFKC, NFD, NFKD).
|
description: Fast Unicode 14.0.0 normalization in Haskell (NFC, NFKC, NFD, NFKD).
|
||||||
category: Data,Text,Unicode
|
category: Data,Text,Unicode
|
||||||
@@ -22,8 +22,9 @@ tested-with: GHC==8.0.2
|
|||||||
, GHC==8.8.4
|
, GHC==8.8.4
|
||||||
, GHC==8.10.7
|
, GHC==8.10.7
|
||||||
, GHC==9.0.2
|
, GHC==9.0.2
|
||||||
, GHC==9.2.4
|
, GHC==9.2.7
|
||||||
, GHC==9.4.2
|
, GHC==9.4.4
|
||||||
|
, GHC==9.6.1
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
Changelog.md
|
Changelog.md
|
||||||
@@ -84,10 +85,10 @@ library
|
|||||||
hs-source-dirs: .
|
hs-source-dirs: .
|
||||||
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
|
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
|
||||||
build-depends:
|
build-depends:
|
||||||
base >= 4.8 && < 4.18
|
base >= 4.8 && < 4.19
|
||||||
, unicode-data >= 0.2 && < 0.5
|
, unicode-data >= 0.2 && < 0.5
|
||||||
, bytestring >= 0.9 && < 0.12
|
, bytestring >= 0.9 && < 0.12
|
||||||
, ghc-prim >= 0.2 && < 0.10
|
, ghc-prim >= 0.2 && < 0.11
|
||||||
|
|
||||||
-- We depend on a lot of internal modules in text. We keep the upper bound
|
-- We depend on a lot of internal modules in text. We keep the upper bound
|
||||||
-- inclusive of the latest stable version.
|
-- inclusive of the latest stable version.
|
||||||
|
Reference in New Issue
Block a user