[ghc-ConfigFile] update to cabal2spec-0.25.2
Jens Petersen
petersen at fedoraproject.org
Wed Jan 4 23:36:32 UTC 2012
commit 47ab563c87d509a5f4105f5094a36325351a0182
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jan 5 08:36:23 2012 +0900
update to cabal2spec-0.25.2
ghc-ConfigFile.spec | 33 +++++++++++++++++++++++----------
1 files changed, 23 insertions(+), 10 deletions(-)
---
diff --git a/ghc-ConfigFile.spec b/ghc-ConfigFile.spec
index 444c9f0..56689a3 100644
--- a/ghc-ConfigFile.spec
+++ b/ghc-ConfigFile.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name ConfigFile
%global common_summary Configuration file reading and writing
@@ -18,7 +22,7 @@ this module, the Unix shell, and make.
Name: ghc-%{pkg_name}
Version: 1.1.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -28,12 +32,12 @@ 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-MissingH-prof, ghc-haskell98-prof, ghc-mtl-prof, ghc-parsec-prof
+BuildRequires: ghc-MissingH-prof
+BuildRequires: ghc-haskell98-prof
+BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-parsec-prof
%description
%{common_description}
@@ -49,15 +53,24 @@ BuildRequires: ghc-MissingH-prof, ghc-haskell98-prof, ghc-mtl-prof, ghc-parsec-
%install
%ghc_lib_install
-mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
-install -m 644 -p COPY* %{buildroot}%{_docdir}/%{name}-%{version}/
-install -m 644 -p README %{buildroot}%{_docdir}/%{name}-%{version}/README
-%{ghc_lib_package}
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files COPYING COPYRIGHT
+%doc README
%changelog
+* Wed Jan 4 2012 Jens Petersen <petersen at redhat.com> - 1.1.1-2
+- update to cabal2spec-0.25.2
+
* Sat Dec 3 2011 Jens Petersen <petersen at redhat.com> - 1.1.1-1
- update to 1.1.1
More information about the scm-commits
mailing list