add %GHCRequires for automatically versioned library deps
This commit is contained in:
parent
87815fa4c0
commit
5edaabc998
@ -36,3 +36,6 @@ echo '%{ghcdocdir}' >> %1-doc.files \
|
|||||||
%ghc_reindex_haddock ( cd %{_docdir}/ghc/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || :
|
%ghc_reindex_haddock ( cd %{_docdir}/ghc/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || :
|
||||||
|
|
||||||
%ghc_version %(ghc --numeric-version)
|
%ghc_version %(ghc --numeric-version)
|
||||||
|
|
||||||
|
%GHCRequires() \
|
||||||
|
Requires: ghc-%1-%2 = %(ghc-pkg list --global --simple-output %1|sed -e "s/%1-//")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 0.2.1
|
Version: 0.2.2
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 16 2009 Jens Petersen <petersen@redhat.com> - 0.2.2-1
|
||||||
|
- add %%GHCRequires for automatically versioned library deps
|
||||||
|
|
||||||
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
* Tue Sep 22 2009 Jens Petersen <petersen@redhat.com> - 0.2.1-2
|
||||||
- no, revert versioned ghcdocdir again!
|
- no, revert versioned ghcdocdir again!
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user