use %ghc_pkg_ver for requires

This commit is contained in:
Jens Petersen 2009-11-16 13:47:32 +00:00
parent f9a383ef20
commit 22fb116b54

View File

@ -9,7 +9,7 @@
Name: ghc-%{pkg_name}
# part of haskell-platform-2009.2.0.2
Version: 4000.0.6
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Haskell HTTP client library
Group: Development/Libraries
@ -41,7 +41,7 @@ Provides: ghc-%{pkg_name} = %{version}-%{release}
Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version}
Requires(preun): ghc = %{ghc_version}
Requires: ghc-network-devel
Requires: ghc-network-devel = %ghc_pkg_ver network
%description devel
A Haskell library for client-side HTTP.
@ -57,7 +57,7 @@ Group: Development/Libraries
Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version}
Requires: ghc-network-doc
Requires: ghc-network-doc = %ghc_pkg_ver network
%description doc
This package contains development documentation files for the %{name} library.
@ -70,7 +70,7 @@ Summary: Profiling libraries for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: ghc-prof = %{ghc_version}
Requires: ghc-network-prof
Requires: ghc-network-prof = %ghc_pkg_ver network
%description prof
This package contains profiling libraries for %{name}
@ -144,6 +144,9 @@ fi
%changelog
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-6
- use %%ghc_pkg_ver for requires
* Mon Sep 28 2009 Jens Petersen <petersen@redhat.com> - 4000.0.6-5
- buildrequire the new ghc-network library