[ghc-Boolean] update to cabal2spec-0.25
Jens Petersen
petersen at fedoraproject.org
Thu Mar 22 07:20:25 UTC 2012
commit 2c1c2569583d4d45bc961bff4fa50722c56b7f6c
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Mar 22 16:20:20 2012 +0900
update to cabal2spec-0.25
ghc-Boolean.spec | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/ghc-Boolean.spec b/ghc-Boolean.spec
index 1868f3a..b06cd86 100644
--- a/ghc-Boolean.spec
+++ b/ghc-Boolean.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name Boolean
%global common_summary Generalized booleans
@@ -6,18 +10,18 @@
Name: ghc-%{pkg_name}
Version: 0.0.1
-Release: 9%{?dist}.3
+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}
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
-BuildRequires: ghc-base-prof
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
%description
%{common_description}
@@ -35,10 +39,22 @@ BuildRequires: ghc-base-prof
%ghc_lib_install
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files COPYING
%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen at redhat.com> - 0.0.1-10
+- update to cabal2spec-0.25
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.1-9.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list