[ghc-ghc-paths] update to cabal2spec-0.25.4
Jens Petersen
petersen at fedoraproject.org
Tue Jan 24 02:42:40 UTC 2012
commit 81d7448eee96e9df9640ac006d57ce77c04e5e30
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Jan 24 11:42:33 2012 +0900
update to cabal2spec-0.25.4
ghc-ghc-paths.spec | 28 +++++++++++++++++++++-------
1 files changed, 21 insertions(+), 7 deletions(-)
---
diff --git a/ghc-ghc-paths.spec b/ghc-ghc-paths.spec
index 38e0b48..431d66d 100644
--- a/ghc-ghc-paths.spec
+++ b/ghc-ghc-paths.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.4
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name ghc-paths
%global common_summary Interface to GHC's installation directories
@@ -6,24 +10,22 @@
Name: ghc-%{pkg_name}
Version: 0.1.0.8
-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-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
BuildRequires: ghc-base-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -38,10 +40,22 @@ This package provides the shared library.
%ghc_lib_install
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
%changelog
+* Tue Jan 24 2012 Jens Petersen <petersen at redhat.com> - 0.1.0.8-9
+- update to cabal2spec-0.25.4
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.0.8-8.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list