update with cabal-rpm; set small_base flag
This commit is contained in:
parent
84fda5d446
commit
4aed2e931d
|
@ -1,4 +1,3 @@
|
|||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
|
@ -15,20 +14,20 @@ semantics as Perl 5.
|
|||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.4
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
# BEGIN cabal2spec
|
||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||
ExclusiveArch: %{ghc_arches}
|
||||
Patch0: pcre-light-0.4-small_base.patch
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: pcre-devel%{?_isa}
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
# End cabal-rpm deps
|
||||
BuildRequires: pcre-devel%{?_isa}
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
@ -36,6 +35,7 @@ BuildRequires: ghc-bytestring-devel
|
|||
|
||||
%prep
|
||||
%setup -q -n %{pkg_name}-%{version}
|
||||
%patch0 -p1 -b .orig
|
||||
|
||||
|
||||
%build
|
||||
|
@ -59,6 +59,10 @@ Requires: pcre-devel%{?_isa}
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Nov 17 2012 Jens Petersen <petersen@redhat.com> - 0.4-10
|
||||
- update with cabal-rpm
|
||||
- set small_base flag
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- 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