let ghc_bin_install take an arg to disable implicit stripping for subpackages
This commit is contained in:
parent
fa247e69af
commit
dae8fa2606
@ -261,11 +261,12 @@ find %{buildroot} -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \
|
||||
%{nil}
|
||||
|
||||
# install bin package
|
||||
%ghc_bin_install\
|
||||
%ghc_bin_install()\
|
||||
%global _use_internal_dependency_generator 0\
|
||||
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}\
|
||||
%cabal_install\
|
||||
%ghc_strip_dynlinked
|
||||
%{!?1:%ghc_strip_dynlinked}\
|
||||
%{nil}
|
||||
|
||||
# ghc_lib_install [name] [version]
|
||||
%ghc_lib_install()\
|
||||
|
@ -3,7 +3,7 @@
|
||||
%global macros_file %{_sysconfdir}/rpm/macros.ghc
|
||||
|
||||
Name: ghc-rpm-macros
|
||||
Version: 0.94
|
||||
Version: 0.95
|
||||
Release: 1%{?dist}
|
||||
Summary: Macros for building packages for GHC
|
||||
|
||||
@ -60,6 +60,9 @@ EOF
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jun 7 2012 Jens Petersen <petersen@redhat.com> - 0.95-1
|
||||
- let ghc_bin_install take an arg to disable implicit stripping for subpackages
|
||||
|
||||
* Thu Jun 7 2012 Jens Petersen <petersen@redhat.com> - 0.94-1
|
||||
- allow ghc_description, ghc_devel_description, ghc_devel_post_postun
|
||||
to take args
|
||||
|
Loading…
Reference in New Issue
Block a user