[ghc-xdg-basedir] update with cabal-rpm

Jens Petersen petersen at fedoraproject.org
Sat Nov 17 17:07:32 UTC 2012


commit b3401d2090d8f6640c5d62803bfef1a540cce218
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Nov 18 02:07:29 2012 +0900

    update with cabal-rpm

 ghc-xdg-basedir.spec |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/ghc-xdg-basedir.spec b/ghc-xdg-basedir.spec
index 1b9c19c..f0f8e28 100644
--- a/ghc-xdg-basedir.spec
+++ b/ghc-xdg-basedir.spec
@@ -1,4 +1,3 @@
-# cabal2spec-0.25.4
 # https://fedoraproject.org/wiki/Packaging:Haskell
 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
@@ -13,18 +12,19 @@ right thing with regards to choosing appropriate directories.
 
 Name:           ghc-%{pkg_name}
 Version:        0.2.2
-Release:        1%{?dist}
+Release:        2%{?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 %{!?without_hscolour:hscolour}
-# END cabal2spec
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-directory-devel
+BuildRequires:  ghc-filepath-devel
+# End cabal-rpm deps
 
 %description
 %{common_description}
@@ -42,7 +42,6 @@ BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 %ghc_lib_install
 
 
-# devel subpackage
 %ghc_devel_package
 
 %ghc_devel_description
@@ -55,6 +54,9 @@ BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 
 
 %changelog
+* Sat Nov 17 2012 Jens Petersen <petersen at redhat.com> - 0.2.2-2
+- update with cabal-rpm
+
 * Sun Oct 21 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.2.2-1
 - Update to 0.2.2
 


More information about the scm-commits mailing list