update to 0.96.0.0

This commit is contained in:
Jens Petersen 2020-06-10 11:44:48 +08:00
parent c1750f7b5a
commit 068caf245d
4 changed files with 101 additions and 7 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ regex-posix-0.94.2.tar.gz
/regex-posix-0.94.4.tar.gz
/regex-posix-0.95.1.tar.gz
/regex-posix-0.95.2.tar.gz
/regex-posix-0.96.0.0.tar.gz

View File

@ -5,14 +5,15 @@
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.95.2
Release: 46%{?dist}
Summary: Haskell posix regex library
Version: 0.96.0.0
Release: 1%{?dist}
Summary: POSIX 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:
@ -26,7 +27,16 @@ BuildRequires: ghc-regex-base-prof
# End cabal-rpm deps
%description
The posix regex backend for regex-base.
The POSIX regex backend for <//hackage.haskell.org/package/regex-base
regex-base>.
The main appeal of this backend is that it's very lightweight due to its
reliance on the ubiquitous
<https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/regex.h.html POSIX.2
regex> facility that is provided by the standard C library on most POSIX
platforms.
See also <https://wiki.haskell.org/Regular_expressions> for more information.
%package devel
@ -66,9 +76,8 @@ 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
# remove copy library
rm -r cbits
%build
@ -80,6 +89,7 @@ rm -r cbits
%install
# Begin cabal-rpm install
%ghc_lib_install
chmod a-x ChangeLog.md
# End cabal-rpm install
@ -100,6 +110,7 @@ rm -r cbits
%files devel -f %{name}-devel.files
%doc ChangeLog.md
%if %{with haddock}
@ -114,6 +125,9 @@ rm -r cbits
%changelog
* Wed Jun 10 2020 Jens Petersen <petersen@redhat.com> - 0.96.0.0-1
- update to 0.96.0.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.95.2-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -0,0 +1,79 @@
cabal-version: 1.12
name: regex-posix
version: 0.96.0.0
x-revision: 1
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (c) 2007-2010, Christopher Kuklewicz
author: Christopher Kuklewicz
maintainer: hvr@gnu.org
bug-reports: https://github.com/hvr/regex-posix
synopsis: POSIX Backend for "Text.Regex" (regex-base)
category: Text
description:
The POSIX regex backend for <//hackage.haskell.org/package/regex-base regex-base>.
.
The main appeal of this backend is that it's very lightweight due to its reliance on the ubiquitous <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/regex.h.html POSIX.2 regex> facility that is provided by the standard C library on most POSIX platforms.
.
See also <https://wiki.haskell.org/Regular_expressions> for more information.
extra-source-files:
ChangeLog.md
cbits/myfree.h
source-repository head
type: git
location: https://github.com/hvr/regex-posix.git
flag _regex-posix-clib
manual: False
default: False
description: Use <//hackage.haskell.org/package/regex-posix-clib regex-posix-clib> package
library
hs-source-dirs: src
exposed-modules:
Text.Regex.Posix
Text.Regex.Posix.Wrap
Text.Regex.Posix.String
Text.Regex.Posix.Sequence
Text.Regex.Posix.ByteString
Text.Regex.Posix.ByteString.Lazy
other-modules:
Paths_regex_posix
c-sources: cbits/myfree.c
include-dirs: cbits
if flag(_regex-posix-clib)
build-depends: regex-posix-clib == 2.7.*
else
-- use POSIX.2 regex implementation from @libc@
-- However, Windows/msys2 doesn't provide a POSIX.2 regex impl in its @libc@
if os(windows)
build-depends: base<0
default-language: Haskell2010
default-extensions:
MultiParamTypeClasses
FunctionalDependencies
ForeignFunctionInterface
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.*
ghc-options: -O2
-Wall -fno-warn-unused-imports

View File

@ -1 +1 @@
1df0f9494aab110c7231f36393285c7c regex-posix-0.95.2.tar.gz
SHA512 (regex-posix-0.96.0.0.tar.gz) = 91bdc672a535cd1a6a65b1ae2adef43605b792ec9f99150fa239ab4353cddad47988ac7baa65673c53be36e83c8fad1511ba85fb5f7b43c51b4ae526d9af248a