ghc_add_basepkg_file adds path to base lib package filelist
This commit is contained in:
parent
2089fc7bf1
commit
fe1a0f23ee
@ -73,6 +73,10 @@ fi\
|
|||||||
sed -i -e "s!%{buildroot}!!g" %{!?ghc_without_shared:%{basepkg}.files} %{basepkg}-devel.files\
|
sed -i -e "s!%{buildroot}!!g" %{!?ghc_without_shared:%{basepkg}.files} %{basepkg}-devel.files\
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
%ghc_add_basepkg_file()\
|
||||||
|
%define basepkg ghc-%{pkg_name}\
|
||||||
|
echo "%*" >> %{basepkg}%{?ghc_without_shared:-devel}.files
|
||||||
|
|
||||||
# compiler version
|
# compiler version
|
||||||
%ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override}
|
%ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override}
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
%global macros_file %{_sysconfdir}/rpm/macros.ghc
|
%global macros_file %{_sysconfdir}/rpm/macros.ghc
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 0.15.2
|
Version: 0.15.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
@ -59,6 +59,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.15.3-1
|
||||||
|
- new ghc_add_basepkg_file to add a path to base lib package
|
||||||
|
|
||||||
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 0.15.2-1
|
* Wed Dec 28 2011 Jens Petersen <petersen@redhat.com> - 0.15.2-1
|
||||||
- add ghc_devel_post_postun to help koji/mock with new macros
|
- add ghc_devel_post_postun to help koji/mock with new macros
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user