From 3a5b54c11b620c2e196711af2465172e1c260eee Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 7 Jun 2022 14:26:00 +0800 Subject: [PATCH] update to 0.94.0.2 --- .gitignore | 1 + ghc-regex-base.spec | 12 +++-- regex-base-0.94.0.2.cabal | 99 +++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 109 insertions(+), 5 deletions(-) create mode 100644 regex-base-0.94.0.2.cabal diff --git a/.gitignore b/.gitignore index 67e1a13..7f5ceaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ regex-base-0.93.2.tar.gz /regex-base-0.94.0.0.tar.gz /regex-base-0.94.0.1.tar.gz +/regex-base-0.94.0.2.tar.gz diff --git a/ghc-regex-base.spec b/ghc-regex-base.spec index 2496de1..460fd1f 100644 --- a/ghc-regex-base.spec +++ b/ghc-regex-base.spec @@ -5,14 +5,15 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.94.0.1 -Release: 2%{?dist} +Version: 0.94.0.2 +Release: 1%{?dist} Summary: Common "Text.Regex.*" API for Regex matching License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} # Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal # End cabal-rpm sources # Begin cabal-rpm deps: @@ -22,7 +23,6 @@ BuildRequires: ghc-array-prof BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-prof -BuildRequires: ghc-mtl-prof BuildRequires: ghc-text-prof # End cabal-rpm deps @@ -82,6 +82,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -104,7 +105,7 @@ This package provides the Haskell %{pkg_name} profiling library. %files devel -f %{name}-devel.files -%doc ChangeLog.md +%doc ChangeLog.md README.md %if %{with haddock} @@ -119,6 +120,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jun 07 2022 Jens Petersen - 0.94.0.2-1 +- https://hackage.haskell.org/package/regex-base-0.94.0.2/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.94.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/regex-base-0.94.0.2.cabal b/regex-base-0.94.0.2.cabal new file mode 100644 index 0000000..ddafb90 --- /dev/null +++ b/regex-base-0.94.0.2.cabal @@ -0,0 +1,99 @@ +cabal-version: 1.12 +name: regex-base +version: 0.94.0.2 +x-revision: 1 + +build-type: Simple +license: BSD3 +license-file: LICENSE +copyright: Copyright (c) 2006, Christopher Kuklewicz +author: Christopher Kuklewicz +maintainer: Andreas Abel +homepage: https://wiki.haskell.org/Regular_expressions +bug-reports: https://github.com/haskell-hvr/regex-base/issues +synopsis: Common "Text.Regex.*" API for Regex matching +category: Text +description: + This package does not provide the ability to do regular expression matching. + Instead, it provides the type classes that constitute the abstract API + that is implemented by @regex-*@ backends such as: + . + * + . + * + . + * + . + * + . + * + . + See also for more information. + +extra-source-files: + ChangeLog.md + README.md + +tested-with: + GHC == 9.4.1 + GHC == 9.2.2 + GHC == 9.0.2 + GHC == 8.10.7 + GHC == 8.8.4 + GHC == 8.6.5 + GHC == 8.4.4 + GHC == 8.2.2 + GHC == 8.0.2 + GHC == 7.10.3 + GHC == 7.8.4 + GHC == 7.6.3 + GHC == 7.4.2 + GHC == 7.2.2 + GHC == 7.0.4 + +source-repository head + type: git + location: https://github.com/haskell-hvr/regex-base.git + +source-repository this + type: git + location: https://github.com/haskell-hvr/regex-base.git + tag: v0.94.0.2 + +library + hs-source-dirs: src + + exposed-modules: + Text.Regex.Base + Text.Regex.Base.RegexLike + Text.Regex.Base.Context + Text.Regex.Base.Impl + + other-modules: + Paths_regex_base + + default-language: Haskell2010 + other-extensions: + MultiParamTypeClasses + FunctionalDependencies + TypeSynonymInstances + FlexibleInstances + FlexibleContexts + + if impl(ghc >= 7.4) + default-extensions: Safe + build-depends: containers >= 0.4.2.1 + , bytestring >= 0.9.2.1 + + build-depends: base >= 4.3 && < 5 + , containers >= 0.4 && < 0.7 + , bytestring >= 0.9 && < 0.12 + , array >= 0.3 && < 0.6 + , text >= 1.2.3 && < 1.3 || >=2.0 && <2.1 + + if !impl(ghc >= 8) + build-depends: fail == 4.9.* + + ghc-options: -Wall + if impl(ghc >= 8) + ghc-options: -Wcompat diff --git a/sources b/sources index db2bb82..1a71e98 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-base-0.94.0.1.tar.gz) = 2a1f088532c4488e4dea417222b8723436fbffcf8a8a3596d66c5fd4941250e97c0271c23025244ef3f4ba5295cff82ad8b49a6776d9410210efa7f199bc8b7e +SHA512 (regex-base-0.94.0.2.tar.gz) = cef8177c35b98f31a12044033dca95b767df593c6830d253cee6e31677c99a5cebf67d6e64f24ec9ba736e36256e9da3bfbe66e2ac8450582d36a4c5cad25c88