update to cabal2spec-0.25.2
This commit is contained in:
parent
4df7755474
commit
9467a5fa15
@ -1,27 +1,30 @@
|
||||
# cabal2spec-0.25.2
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name regex-base
|
||||
|
||||
%global common_summary Haskell regex base library
|
||||
|
||||
%global common_description Interface API for regex-{posix,pcre,parsec,tdfa,dfa}.
|
||||
|
||||
# debuginfo is not useful for ghc
|
||||
%global debug_package %{nil}
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2011.2.0.1
|
||||
# part of haskell-platform-2011.4.0.0
|
||||
Version: 0.93.2
|
||||
Release: 8%{?dist}.3
|
||||
Release: 9%{?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}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
BuildRequires: ghc-mtl-prof, ghc-bytestring-prof
|
||||
BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
|
||||
# END cabal2spec
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-bytestring-prof
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
@ -39,10 +42,21 @@ BuildRequires: ghc-mtl-prof, ghc-bytestring-prof
|
||||
%ghc_lib_install
|
||||
|
||||
|
||||
%ghc_lib_package
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%ghc_files
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jan 2 2012 Jens Petersen <petersen@redhat.com> - 0.93.2-9
|
||||
- update to cabal2spec-0.25.2
|
||||
|
||||
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.93.2-8.3
|
||||
- rebuild with new gmp without compat lib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user