update to 0.95.0.0
This commit is contained in:
parent
614d13441e
commit
29112827c4
|
@ -1,2 +1,3 @@
|
|||
/regex-pcre-0.94.2.tar.gz
|
||||
/regex-pcre-0.94.4.tar.gz
|
||||
/regex-pcre-0.95.0.0.tar.gz
|
||||
|
|
|
@ -5,14 +5,15 @@
|
|||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.94.4
|
||||
Release: 25%{?dist}
|
||||
Summary: Haskell PCRE binding
|
||||
Version: 0.95.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: PCRE Backend for "Text.Regex" (regex-base)
|
||||
|
||||
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,11 +24,14 @@ BuildRequires: ghc-base-prof
|
|||
BuildRequires: ghc-bytestring-prof
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-regex-base-prof
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: pkgconfig(libpcre)
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
A Haskell binding to the Perl Compatible Regular Expressions library.
|
||||
This package provides a <http://pcre.org/ PCRE> backend for the
|
||||
<//hackage.haskell.org/package/regex-base regex-base> API.
|
||||
|
||||
See also <https://wiki.haskell.org/Regular_expressions> for more information.
|
||||
|
||||
|
||||
%package devel
|
||||
|
@ -39,7 +43,7 @@ Requires: ghc-compiler = %{ghc_version}
|
|||
%endif
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
# Begin cabal-rpm deps:
|
||||
Requires: pcre-devel%{?_isa}
|
||||
Requires: pkgconfig(libpcre)
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description devel
|
||||
|
@ -70,6 +74,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
|
||||
|
||||
|
||||
|
@ -82,6 +87,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
chmod a-x ChangeLog.md
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
|
@ -102,6 +108,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc ChangeLog.md
|
||||
|
||||
|
||||
%if %{with haddock}
|
||||
|
@ -116,6 +123,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.95.0.0-1
|
||||
- update to 0.95.0.0
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.94.4-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
Cabal-Version: 1.12
|
||||
Name: regex-pcre
|
||||
Version: 0.95.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
|
||||
bug-reports: https://github.com/hvr/regex-pcre/issues
|
||||
category: Text
|
||||
|
||||
synopsis: PCRE Backend for "Text.Regex" (regex-base)
|
||||
description:
|
||||
This package provides a <http://pcre.org/ PCRE> backend for the <//hackage.haskell.org/package/regex-base regex-base> API.
|
||||
.
|
||||
See also <https://wiki.haskell.org/Regular_expressions> for more information.
|
||||
|
||||
extra-source-files:
|
||||
ChangeLog.md
|
||||
|
||||
flag pkg-config
|
||||
default: True
|
||||
manual: True
|
||||
description: Use @pkg-config(1)@ to locate foreign @zlib@ library.
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/hvr/regex-pcre.git
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
exposed-modules:
|
||||
Text.Regex.PCRE
|
||||
Text.Regex.PCRE.Wrap
|
||||
Text.Regex.PCRE.String
|
||||
Text.Regex.PCRE.Sequence
|
||||
Text.Regex.PCRE.ByteString
|
||||
Text.Regex.PCRE.ByteString.Lazy
|
||||
|
||||
other-modules:
|
||||
Paths_regex_pcre
|
||||
|
||||
default-language: Haskell2010
|
||||
default-extensions:
|
||||
MultiParamTypeClasses
|
||||
FunctionalDependencies
|
||||
ForeignFunctionInterface
|
||||
ScopedTypeVariables
|
||||
GeneralizedNewtypeDeriving
|
||||
FlexibleContexts
|
||||
TypeSynonymInstances
|
||||
FlexibleInstances
|
||||
|
||||
build-depends: regex-base == 0.94.*
|
||||
, base >= 4.3 && < 4.15
|
||||
, containers >= 0.4 && < 0.7
|
||||
, bytestring >= 0.9 && < 0.11
|
||||
, array >= 0.3 && < 0.6
|
||||
|
||||
if !impl(ghc >= 8)
|
||||
build-depends: fail == 4.9.*
|
||||
|
||||
if flag(pkg-config)
|
||||
pkgconfig-depends: libpcre
|
||||
else
|
||||
extra-libraries: pcre
|
||||
|
||||
ghc-options: -O2
|
||||
-Wall -fno-warn-unused-imports
|
Loading…
Reference in New Issue