From f6642ade24db59684db7ca9c2275a95bc73efc9c067ab064d559e035b8985455 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 08:26:51 +0000 Subject: [PATCH 1/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-unicode-transforms revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unicode-transforms?expand=0&rev=59 --- ghc-unicode-transforms.changes | 6 ++++++ ghc-unicode-transforms.spec | 35 ++++++++++++++++++++++++++++++++-- unicode-transforms.cabal | 11 ++++++----- 3 files changed, 45 insertions(+), 7 deletions(-) diff --git a/ghc-unicode-transforms.changes b/ghc-unicode-transforms.changes index edc8620..e27bb57 100644 --- a/ghc-unicode-transforms.changes +++ b/ghc-unicode-transforms.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 14 07:26:57 UTC 2023 - Peter Simons + +- 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 diff --git a/ghc-unicode-transforms.spec b/ghc-unicode-transforms.spec index 1b9b859..1add474 100644 --- a/ghc-unicode-transforms.spec +++ b/ghc-unicode-transforms.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %global pkg_name unicode-transforms +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} Version: 0.4.0.1 @@ -25,18 +26,27 @@ Summary: Unicode normalization 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 -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-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-bytestring-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-text-devel +BuildRequires: ghc-text-prof BuildRequires: ghc-unicode-data-devel +BuildRequires: ghc-unicode-data-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-deepseq-prof BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-prof BuildRequires: ghc-split-devel +BuildRequires: ghc-split-prof %endif %description @@ -53,6 +63,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} cp -p %{SOURCE1} %{pkg_name}.cabal @@ -78,4 +104,9 @@ cp -p %{SOURCE1} %{pkg_name}.cabal %files devel -f %{name}-devel.files %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 diff --git a/unicode-transforms.cabal b/unicode-transforms.cabal index 9573a72..0f4e308 100644 --- a/unicode-transforms.cabal +++ b/unicode-transforms.cabal @@ -2,7 +2,7 @@ cabal-version: 2.2 name: unicode-transforms version: 0.4.0.1 -x-revision: 2 +x-revision: 3 synopsis: Unicode normalization description: Fast Unicode 14.0.0 normalization in Haskell (NFC, NFKC, NFD, NFKD). category: Data,Text,Unicode @@ -22,8 +22,9 @@ tested-with: GHC==8.0.2 , GHC==8.8.4 , GHC==8.10.7 , GHC==9.0.2 - , GHC==9.2.4 - , GHC==9.4.2 + , GHC==9.2.7 + , GHC==9.4.4 + , GHC==9.6.1 build-type: Simple extra-source-files: Changelog.md @@ -84,10 +85,10 @@ library hs-source-dirs: . ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs build-depends: - base >= 4.8 && < 4.18 + base >= 4.8 && < 4.19 , unicode-data >= 0.2 && < 0.5 , 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 -- inclusive of the latest stable version. From 7934171d69774b88d749516086f46994a0217b23091dd2069d2789ccf0800da0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 30 Mar 2023 17:38:56 +0000 Subject: [PATCH 2/2] osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-unicode-transforms revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unicode-transforms?expand=0&rev=60 --- ghc-unicode-transforms.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-unicode-transforms.changes b/ghc-unicode-transforms.changes index e27bb57..bc529ca 100644 --- a/ghc-unicode-transforms.changes +++ b/ghc-unicode-transforms.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 17:08:47 UTC 2023 - Peter Simons + +- Updated spec file to conform with ghc-rpm-macros-2.5.2. + ------------------------------------------------------------------- Tue Mar 14 07:26:57 UTC 2023 - Peter Simons