From 00574aca607f17f68071ae2726a33e7754b40feb Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 10 Jun 2020 11:44:11 +0800 Subject: [PATCH] update to 0.94.0.0 --- .gitignore | 1 + ghc-regex-base.spec | 29 +++++++++++++--- regex-base-0.94.0.0.cabal | 73 +++++++++++++++++++++++++++++++++++++++ sources | 2 +- 4 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 regex-base-0.94.0.0.cabal diff --git a/.gitignore b/.gitignore index d472fdd..248194e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ regex-base-0.93.2.tar.gz +/regex-base-0.94.0.0.tar.gz diff --git a/ghc-regex-base.spec b/ghc-regex-base.spec index b21189e..70be363 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.93.2 -Release: 46%{?dist} -Summary: Haskell regex base library +Version: 0.94.0.0 +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: @@ -23,10 +24,25 @@ BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-containers-prof BuildRequires: ghc-mtl-prof +BuildRequires: ghc-text-prof # End cabal-rpm deps %description -Interface API for regex-posix,pcre,parsec,tdfa,dfa. +This package doesn't provide the ability to do regex matching, but instead +provides the type-classes that constitute the abstract API that is implemented +by 'regex-*' backends such as + +* + +* + +* + +* + +* + +See also for more information. %package devel @@ -66,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 @@ -98,6 +115,7 @@ This package provides the Haskell %{pkg_name} profiling library. %files devel -f %{name}-devel.files +%doc ChangeLog.md %if %{with haddock} @@ -112,6 +130,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Wed Jun 10 2020 Jens Petersen - 0.94.0.0-1 +- update to 0.94.0.0 + * Tue Jan 28 2020 Fedora Release Engineering - 0.93.2-46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/regex-base-0.94.0.0.cabal b/regex-base-0.94.0.0.cabal new file mode 100644 index 0000000..2590eaa --- /dev/null +++ b/regex-base-0.94.0.0.cabal @@ -0,0 +1,73 @@ +cabal-version: 1.12 +name: regex-base +version: 0.94.0.0 +x-revision: 1 + +build-type: Simple +license: BSD3 +license-file: LICENSE +copyright: Copyright (c) 2006, Christopher Kuklewicz +author: Christopher Kuklewicz +maintainer: hvr@gnu.org +homepage: https://wiki.haskell.org/Regular_expressions +bug-reports: https://github.com/hvr/regex-base/issues +synopsis: Common "Text.Regex.*" API for Regex matching +category: Text +description: + This package doesn't provide the ability to do regex matching, but instead 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 + +source-repository head + type: git + location: https://github.com/hvr/regex-base.git + +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 && < 4.15 + , mtl >= 1.1 && < 2.3 + , containers >= 0.4 && < 0.7 + , bytestring >= 0.9 && < 0.11 + , array >= 0.3 && < 0.6 + , text >= 1.2.3 && < 1.3 + + if !impl(ghc >= 8) + build-depends: fail == 4.9.* + + ghc-options: -Wall -O2 diff --git a/sources b/sources index 059dc30..b4dea1f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e7b93b0b17eff8d3068ecb2f5d5f6ea3 regex-base-0.93.2.tar.gz +SHA512 (regex-base-0.94.0.0.tar.gz) = 4e7120e1a2b63fd3e4e15cefc540e82ab0949f51e19f495d4cf4edbe8428ffdf2f114df3504f66049fbb790d5310c59daaf0ed3a71c5acccfe205dccc4567045