rpms/ghc-zlib/devel ghc-zlib.spec,1.8,1.9

Jens Petersen petersen at fedoraproject.org
Fri Feb 27 04:13:28 UTC 2009


Author: petersen

Update of /cvs/pkgs/rpms/ghc-zlib/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30677

Modified Files:
	ghc-zlib.spec 
Log Message:
- sync whitespace with template
- add alpha arch
(cabal2spec-0.11)



Index: ghc-zlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-zlib/devel/ghc-zlib.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ghc-zlib.spec	26 Feb 2009 23:35:10 -0000	1.8
+++ ghc-zlib.spec	27 Feb 2009 04:12:58 -0000	1.9
@@ -1,5 +1,5 @@
-%define pkg_name zlib
-%define ghc_version 6.10.1
+%global pkg_name zlib
+%global ghc_version 6.10.1
 
 %global pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version}
 %global pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version}
@@ -10,25 +10,26 @@
 # ghc does not emit debug information
 %global debug_package %{nil}
 
-Name: ghc-%{pkg_name}
-Version: 0.5.0.0
-Release: 7%{?dist}
-Summary: Haskell compression and decompression library binding
-
-Group: Development/Libraries
-License: BSD
-URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
-Source: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Name:           ghc-%{pkg_name}
+Version:        0.5.0.0
+Release:        7%{?dist}
+Summary:        Haskell compression and decompression library binding
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
+Source0:         http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-ExclusiveArch: %{ix86} x86_64 ppc
-BuildRequires: ghc = %{ghc_version}
+# fedora ghc archs:
+ExclusiveArch:  %{ix86} x86_64 ppc alpha
+BuildRequires:  ghc = %{ghc_version}
 %if %{with doc}
 BuildRequires:  ghc-doc = %{ghc_version}
 %endif
 %if %{with prof}
 BuildRequires:  ghc-prof = %{ghc_version}
 %endif
-BuildRequires: zlib-devel
+BuildRequires:  zlib-devel
 
 %description
 This package provides a pure Haskell interface for compressing and
@@ -41,10 +42,10 @@
 full zlib feature set.
 
 %package devel
-Summary: Development libraries for %{name}
-Group: Development/Libraries
-Requires: zlib-devel
-Requires: ghc = %{ghc_version}
+Summary:        Haskell %{pkg_name} library
+Group:          Development/Libraries
+Requires:       zlib-devel
+Requires:       ghc = %{ghc_version}
 Requires(post): ghc = %{ghc_version}
 Requires(preun): ghc = %{ghc_version}
 
@@ -146,9 +147,9 @@
 
 %changelog
 * Fri Feb 27 2009 Jens Petersen <petersen at redhat.com> - 0.5.0.0-7
-- update to cabal2spec-0.9:
+- update to cabal2spec-0.11:
 - add devel subpackage
-- use ix86 macro for archs
+- use ix86 macro for archs and add alpha
 - use global rather than define
 
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.0.0-6




More information about the fedora-extras-commits mailing list