[ghc-xss-sanitize] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Fri Jan 6 11:46:49 UTC 2012


commit a085194ccba2b19ecf774d10374717955cd5bb07
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jan 6 20:46:43 2012 +0900

    update to cabal2spec-0.25.2

 ghc-xss-sanitize.spec |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/ghc-xss-sanitize.spec b/ghc-xss-sanitize.spec
index 8c696db..5a5c073 100644
--- a/ghc-xss-sanitize.spec
+++ b/ghc-xss-sanitize.spec
@@ -1,6 +1,6 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name xss-sanitize
 
@@ -12,7 +12,7 @@ for more details.
 
 Name:           ghc-%{pkg_name}
 Version:        0.2.6
-Release:        1%{?dist}.1
+Release:        2%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -22,12 +22,11 @@ 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
-%if %{undefined without_hscolour}
-BuildRequires:  hscolour
-%endif
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 # END cabal2spec
-BuildRequires:  ghc-network-prof, ghc-tagsoup-prof, ghc-utf8-string-prof
+BuildRequires:  ghc-network-prof
+BuildRequires:  ghc-tagsoup-prof
+BuildRequires:  ghc-utf8-string-prof
 
 %description
 %{common_description}
@@ -45,10 +44,21 @@ BuildRequires:  ghc-network-prof, ghc-tagsoup-prof, ghc-utf8-string-prof
 %ghc_lib_install
 
 
-%{ghc_lib_package}
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Fri Jan  6 2012 Jens Petersen <petersen at redhat.com> - 0.2.6-2
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.2.6-1.1
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list