diff --git a/.gitignore b/.gitignore index bf70327..2fd1b7c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /regex-tdfa-1.3.1.0.tar.gz /regex-tdfa-1.3.1.1.tar.gz /regex-tdfa-1.3.1.2.tar.gz +/regex-tdfa-1.3.2.tar.gz diff --git a/ghc-regex-tdfa.spec b/ghc-regex-tdfa.spec index 21d64bc..9f2bfc6 100644 --- a/ghc-regex-tdfa.spec +++ b/ghc-regex-tdfa.spec @@ -1,26 +1,34 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.1.0 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name regex-tdfa %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# testsuite missing deps: doctest-parallel Name: ghc-%{pkg_name} -Version: 1.3.1.2 -Release: 2%{?dist} +Version: 1.3.2 +Release: 1%{?dist} Summary: Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base) -License: BSD +License: BSD-3-Clause 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: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-array-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-parsec-devel +BuildRequires: ghc-regex-base-devel +BuildRequires: ghc-text-devel +%if %{with ghc_prof} BuildRequires: ghc-array-prof BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof @@ -29,10 +37,6 @@ BuildRequires: ghc-mtl-prof BuildRequires: ghc-parsec-prof BuildRequires: ghc-regex-base-prof BuildRequires: ghc-text-prof -%if %{with tests} -BuildRequires: ghc-directory-devel -BuildRequires: ghc-filepath-devel -BuildRequires: ghc-utf8-string-devel %endif # End cabal-rpm deps @@ -86,7 +90,6 @@ 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 @@ -102,12 +105,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install -%check -%if %{with tests} -%cabal_test -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -130,6 +127,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 1.3.2-1 +- https://hackage.haskell.org/package/regex-tdfa-1.3.2/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 1.3.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/regex-tdfa-1.3.1.2.cabal b/regex-tdfa-1.3.1.2.cabal deleted file mode 100644 index f6d5b9c..0000000 --- a/regex-tdfa-1.3.1.2.cabal +++ /dev/null @@ -1,176 +0,0 @@ -cabal-version: 1.12 -name: regex-tdfa -version: 1.3.1.2 -x-revision: 1 - -build-Type: Simple -license: BSD3 -license-file: LICENSE -copyright: Copyright (c) 2007-2009, Christopher Kuklewicz -author: Christopher Kuklewicz -maintainer: Andreas Abel -homepage: https://wiki.haskell.org/Regular_expressions -bug-reports: https://github.com/haskell-hvr/regex-tdfa/issues - -category: Text -synopsis: Pure Haskell Tagged DFA Backend for "Text.Regex" (regex-base) -description: - This package provides a pure Haskell \"Tagged\" DFA regex engine for . This implementation was inspired by the algorithm (and Master's thesis) behind the regular expression library known as . - . - Please consult the "Text.Regex.TDFA" module for API documentation including a tutorial with usage examples; - see also for general information about regular expression support in Haskell. - -extra-source-files: - CHANGELOG.md - README.md - test/cases/*.txt - -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 - -source-repository head - type: git - location: https://github.com/haskell-hvr/regex-tdfa.git - -source-repository this - type: git - location: https://github.com/haskell-hvr/regex-tdfa.git - tag: v1.3.1.2-r1 - -flag force-O2 - default: False - manual: True - description: - Force building @regex-tdfa@ with \"@ghc-options: -O2@\". - . - __NOTE__: This flag is mostly provided for legacy use-cases. Nowadays you can conveniently control optimization levels on a per-package granularity via @cabal.project@ files; see for more details. - -library - hs-source-dirs: lib - - exposed-modules: Data.IntMap.CharMap2 - Data.IntMap.EnumMap2 - Data.IntSet.EnumSet2 - Text.Regex.TDFA - Text.Regex.TDFA.ByteString - Text.Regex.TDFA.ByteString.Lazy - Text.Regex.TDFA.Common - Text.Regex.TDFA.CorePattern - Text.Regex.TDFA.IntArrTrieSet - Text.Regex.TDFA.NewDFA.Engine - Text.Regex.TDFA.NewDFA.Engine_FA - Text.Regex.TDFA.NewDFA.Engine_NC - Text.Regex.TDFA.NewDFA.Engine_NC_FA - Text.Regex.TDFA.NewDFA.Tester - Text.Regex.TDFA.NewDFA.Uncons - Text.Regex.TDFA.NewDFA.MakeTest - Text.Regex.TDFA.Pattern - Text.Regex.TDFA.ReadRegex - Text.Regex.TDFA.Sequence - Text.Regex.TDFA.String - Text.Regex.TDFA.TDFA - Text.Regex.TDFA.TNFA - Text.Regex.TDFA.Text - Text.Regex.TDFA.Text.Lazy - - other-modules: Paths_regex_tdfa - - -- Support Semigroup instances uniformly - -- - -- See also - -- https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid#RecommendedVariant - -- - -- NB: This is the same logic `parsec.cabal` uses, so this doesn't - -- add any new dependency that isn't already incurred by - -- `regex-tdfa`'s transitive deps - if !impl(ghc >= 8.0) - build-depends: fail == 4.9.* - , semigroups == 0.18.* || == 0.19.* - build-depends: array >= 0.4 && < 0.6 - , base >= 4.5 && < 5 - , bytestring >= 0.9.2 && < 0.12 - , containers >= 0.4.2 && < 0.7 - , mtl >= 2.1.3 && < 2.4 - , parsec == 3.1.* - , regex-base == 0.94.* - , text >= 1.2.3 && < 2.1 - - default-language: Haskell2010 - default-extensions: BangPatterns - ExistentialQuantification - FlexibleContexts - FlexibleInstances - ForeignFunctionInterface - FunctionalDependencies - MagicHash - MultiParamTypeClasses - NondecreasingIndentation - RecursiveDo - ScopedTypeVariables - TypeOperators - TypeSynonymInstances - UnboxedTuples - UnliftedFFITypes - other-extensions: CPP - - ghc-options: -Wall -funbox-strict-fields -fspec-constr-count=10 -fno-warn-orphans - - if impl(ghc >= 8.0) - ghc-options: -Wcompat - - if flag(force-O2) - ghc-options: -O2 - - -test-suite regex-tdfa-unittest - type: exitcode-stdio-1.0 - - hs-source-dirs: test - main-is: Main.hs - - -- intra-package dependency - build-depends: regex-tdfa - - -- dependencies whose version constraints are inherited via intra-package 'regex-tdfa' dependency - if !impl(ghc >= 8.0) - build-depends: fail - , semigroups - build-depends: array - , base - , bytestring - , containers - , filepath - , mtl - , regex-base - , text - - -- component-specific dependencies not inherited via 'regex-tdfa' - , directory >= 1.1.0 && < 1.4 - , filepath >= 1.3.0 && < 1.5 - , utf8-string >= 1.0.1 && < 1.1 - - default-language: Haskell2010 - default-extensions: FlexibleInstances - FlexibleContexts - Rank2Types - other-extensions: GeneralizedNewtypeDeriving - - ghc-options: -Wall -funbox-strict-fields - - if impl(ghc >= 8.0) - ghc-options: -Wcompat - - if flag(force-O2) - ghc-options: -O2 diff --git a/sources b/sources index 30d88dc..f5cfe38 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-tdfa-1.3.1.2.tar.gz) = e89d538ecb7dbde45e477eefb4b70395825106c4008515799a955f3d4009701747a3e0431fdb46221485d685b9922334e3f88c5b0547920fd94753f23087f1ec +SHA512 (regex-tdfa-1.3.2.tar.gz) = 88bbf8f4d7ac15fb85c899bdeb8f8556c7a284075bf2b600051f529f0e2109dcda6ba74fc95969b824cfb03f00a9eb47e9c375c70b1b9e17096c95acbe517168