change GHCRequires to ghc_pkg_ver
This commit is contained in:
parent
32ffe2c854
commit
b8f63cfff0
@ -37,5 +37,4 @@ echo '%{ghcdocdir}' >> %1-doc.files \
|
|||||||
|
|
||||||
%ghc_version %(ghc --numeric-version)
|
%ghc_version %(ghc --numeric-version)
|
||||||
|
|
||||||
%GHCRequires() \
|
%ghc_pkg_ver() ghc-%1-%2 = %(ghc-pkg list --global --simple-output %1|sed -e "s/.*%1-//")
|
||||||
Requires: ghc-%1-%2 = %(ghc-pkg list --global --simple-output %1|sed -e "s/.*%1-//")
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 0.2.3
|
Version: 0.2.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.4-1
|
||||||
|
- change GHCRequires to ghc_pkg_ver
|
||||||
|
|
||||||
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.3-1
|
||||||
- use the latest installed pkg version for %%GHCRequires
|
- use the latest installed pkg version for %%GHCRequires
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user