- sync whitespace with template
- add alpha arch (cabal2spec-0.11)
This commit is contained in:
parent
61ea922f43
commit
749192f12d
@ -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}
|
||||
@ -18,9 +18,10 @@ 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
|
||||
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
|
||||
# fedora ghc archs:
|
||||
ExclusiveArch: %{ix86} x86_64 ppc alpha
|
||||
BuildRequires: ghc = %{ghc_version}
|
||||
%if %{with doc}
|
||||
BuildRequires: ghc-doc = %{ghc_version}
|
||||
@ -41,7 +42,7 @@ the few cases where more control is needed, it provides access to the
|
||||
full zlib feature set.
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries for %{name}
|
||||
Summary: Haskell %{pkg_name} library
|
||||
Group: Development/Libraries
|
||||
Requires: zlib-devel
|
||||
Requires: ghc = %{ghc_version}
|
||||
@ -146,9 +147,9 @@ fi
|
||||
|
||||
%changelog
|
||||
* Fri Feb 27 2009 Jens Petersen <petersen@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@lists.fedoraproject.org> - 0.5.0.0-6
|
||||
|
Loading…
Reference in New Issue
Block a user