new ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install

epel9
Jens Petersen 15 years ago
parent 85dddb6d0b
commit 28ead10bfc

@ -205,3 +205,26 @@ This package contains the profiling library.\
%if 0%{!?__debug_package:1}\
find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print | xargs strip\
%endif
# ghc_bin_build
%ghc_bin_build\
%cabal_configure --ghc\
%cabal build
# ghc_lib_build
%ghc_lib_build\
%cabal_configure --ghc -p\
%cabal build\
%cabal haddock
# ghc_bin_install
%ghc_bin_install\
%cabal_install\
%ghc_strip_dynlinked
# ghc_lib_install
%ghc_lib_install\
%cabal_install\
%cabal_pkg_conf\
%ghc_gen_filelists\
%ghc_strip_dynlinked

@ -1,5 +1,5 @@
Name: ghc-rpm-macros
Version: 0.6.2
Version: 0.7.0
Release: 1%{?dist}
Summary: Macros for building packages for GHC
@ -48,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Jun 26 2010 Jens Petersen <petersen@redhat.com> - 0.7.0-1
- new ghc_bin_build, ghc_bin_install, ghc_lib_build, ghc_lib_install
* Thu Jun 24 2010 Jens Petersen <petersen@redhat.com> - 0.6.2-1
- a couple more fallback summary tweaks

Loading…
Cancel
Save