[ghc-base64-bytestring] update to 0.1.0.3 and cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Wed Jan 4 12:50:49 UTC 2012


commit 7ca7a204776a4f4425a74d4fb0246a7734bf921f
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jan 4 21:50:40 2012 +0900

    update to 0.1.0.3 and cabal2spec-0.25.2

 .gitignore                 |    1 +
 ghc-base64-bytestring.spec |   54 +++++++++++++++----------------------------
 sources                    |    2 +-
 3 files changed, 21 insertions(+), 36 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 951e2cd..a943f41 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /base64-bytestring-0.1.0.1.tar.gz
 /base64-bytestring-0.1.0.2.tar.gz
+/base64-bytestring-0.1.0.3.tar.gz
diff --git a/ghc-base64-bytestring.spec b/ghc-base64-bytestring.spec
index 9449b19..6fbc9e7 100644
--- a/ghc-base64-bytestring.spec
+++ b/ghc-base64-bytestring.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 base64-bytestring
 
@@ -9,20 +9,19 @@
 %global common_description %{common_summary}.
 
 Name:           ghc-%{pkg_name}
-Version:        0.1.0.2
-Release:        7%{?dist}.3
+Version:        0.1.0.3
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
-# BEGIN: cabal2spec-0.24
+# 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
-# END: cabal2spec-0.24
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
 
 BuildRequires:  ghc-bytestring-devel
 
@@ -30,21 +29,6 @@ BuildRequires:  ghc-bytestring-devel
 %{common_description}
 
 
-%package -n ghc-%{pkg_name}-devel
-Summary:        Development files for %{common_summary}
-Group:          Development/Libraries
-# BEGIN: cabal2spec-0.24
-%{?ghc_devel_requires}
-Obsoletes:      ghc-%{pkg_name}-prof < %{version}-%{release}
-Provides:       ghc-%{pkg_name}-prof = %{version}-%{release}
-# END: cabal2spec-0.24
-
-%description -n ghc-%{pkg_name}-devel
-%{common_description}
-
-This package contains the development files.
-
-
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
@@ -57,23 +41,23 @@ This package contains the development files.
 %ghc_lib_install
 
 
-%post -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
+%ghc_devel_package
+
+%ghc_devel_description
 
-%postun -n ghc-%{pkg_name}-devel
-%ghc_pkg_recache
 
+%ghc_devel_post_postun
 
-%if %{undefined ghc_without_shared}
-%files -n ghc-%{pkg_name} -f ghc-%{pkg_name}.files
-%defattr(-,root,root,-)
-%endif
 
-%files -n ghc-%{pkg_name}-devel -f ghc-%{pkg_name}-devel.files
-%defattr(-,root,root,-)
+%ghc_files
+%doc README.markdown
 
 
 %changelog
+* Wed Jan  4 2012 Jens Petersen <petersen at redhat.com> - 0.1.0.3-1
+- update to 0.1.0.3 and cabal2spec-0.25.2
+- add README file
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.1.0.2-7.3
 - rebuild with new gmp without compat lib
 
@@ -112,7 +96,7 @@ This package contains the development files.
 - Rebuild
 
 * Mon Nov 29 2010 Ben Boeckel <mathstuf at gmail.com> - 0.1.0.1-2
-- Fix spelling in %%summary
+- Fix spelling in summary
 
 * Sat Oct 30 2010 Ben Boeckel <mathstuf at gmail.com> - 0.1.0.1-1
 - Initial package
diff --git a/sources b/sources
index 31dc164..363c63d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0719c17d505e13c55dad9d279f95bd80  base64-bytestring-0.1.0.2.tar.gz
+f98ee49ffba7724cac6e2ae9489c7de9  base64-bytestring-0.1.0.3.tar.gz


More information about the scm-commits mailing list