abort ghc_fix_dynamic_rpath if no chrpath

This commit is contained in:
Jens Petersen 2014-03-17 12:24:45 +09:00
parent f67d26b5d6
commit 671df91867
2 changed files with 6 additions and 2 deletions

View File

@ -135,6 +135,7 @@ fi
# ghc_fix_dynamic_rpath prog ...
%ghc_fix_dynamic_rpath()\
%if %{undefined ghc_without_dynamic}\
if ! type chrpath > /dev/null; then exit 1; fi\
PDIR=$(cd ..; pwd)\
for i in %*; do\
PROG=%{buildroot}%{_bindir}/$i\

View File

@ -6,8 +6,8 @@
#%%global without_hscolour 1
Name: ghc-rpm-macros
Version: 1.2.3
Release: 2%{?dist}
Version: 1.2.4
Release: 1%{?dist}
Summary: RPM macros for building packages for GHC
License: GPLv3
@ -90,6 +90,9 @@ EOF
%changelog
* Mon Mar 17 2014 Jens Petersen <petersen@redhat.com> - 1.2.4-1
- abort ghc_fix_dynamic_rpath if no chrpath
* Thu Feb 13 2014 Ville Skyttä <ville.skytta@iki.fi> - 1.2.3-2
- Install macros to %%{_rpmconfigdir}/macros.d.