update to 0.4.0.2
This commit is contained in:
parent
390a81b012
commit
084105beb5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/pcre-light-0.4.tar.gz
|
||||
/pcre-light-0.4.0.2.tar.gz
|
||||
|
@ -2,15 +2,17 @@
|
||||
|
||||
%global pkg_name pcre-light
|
||||
|
||||
# no useful debuginfo for Haskell packages without C sources
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.4
|
||||
Release: 13%{?dist}
|
||||
Version: 0.4.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Perl5 compatible regular expression library
|
||||
|
||||
License: BSD
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
Patch0: pcre-light-0.4-small_base.patch
|
||||
Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
@ -29,10 +31,11 @@ pattern matching using the same syntax and semantics as Perl 5.
|
||||
|
||||
%package devel
|
||||
Summary: Haskell %{pkg_name} library development files
|
||||
Provides: %{name}-static = %{version}-%{release}
|
||||
Requires: ghc-compiler = %{ghc_version}
|
||||
Requires(post): ghc-compiler = %{ghc_version}
|
||||
Requires(postun): ghc-compiler = %{ghc_version}
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
# Begin cabal-rpm deps:
|
||||
Requires: pcre-devel%{?_isa}
|
||||
# End cabal-rpm deps
|
||||
@ -43,7 +46,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%patch0 -p1 -b .orig
|
||||
|
||||
|
||||
%build
|
||||
@ -67,9 +69,13 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc README.md
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 30 2014 Jens Petersen <petersen@redhat.com> - 0.4.0.2-1
|
||||
- update to 0.4.0.2
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- pcre-light-0.4/pcre-light.cabal~ 2010-08-10 07:56:57.000000000 +0900
|
||||
+++ pcre-light-0.4/pcre-light.cabal 2012-11-18 00:56:04.621258306 +0900
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
flag small_base
|
||||
description: Build with new smaller base library
|
||||
- default: False
|
||||
+ default: True
|
||||
|
||||
library
|
||||
exposed-modules: Text.Regex.PCRE.Light
|
Loading…
Reference in New Issue
Block a user