don't use ghc-deps.sh when ghc_bootstrapping; add %ghc_test config
This commit is contained in:
parent
dfb8f0169d
commit
5995766e80
@ -192,16 +192,20 @@ find %{buildroot} -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \
|
|||||||
|
|
||||||
# install bin package
|
# install bin package
|
||||||
%ghc_bin_install\
|
%ghc_bin_install\
|
||||||
|
%if %{undefined ghc_bootstrapping}\
|
||||||
%global _use_internal_dependency_generator 0\
|
%global _use_internal_dependency_generator 0\
|
||||||
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}\
|
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}\
|
||||||
|
%endif\
|
||||||
%cabal_install\
|
%cabal_install\
|
||||||
%ghc_strip_dynlinked
|
%ghc_strip_dynlinked
|
||||||
|
|
||||||
# ghc_lib_install [name] [version]
|
# ghc_lib_install [name] [version]
|
||||||
%ghc_lib_install()\
|
%ghc_lib_install()\
|
||||||
|
%if %{undefined ghc_bootstrapping}\
|
||||||
%global _use_internal_dependency_generator 0\
|
%global _use_internal_dependency_generator 0\
|
||||||
%global __find_provides %{_rpmconfigdir}/ghc-deps.sh --provides %{buildroot}%{ghclibdir}\
|
%global __find_provides %{_rpmconfigdir}/ghc-deps.sh --provides %{buildroot}%{ghclibdir}\
|
||||||
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}\
|
%global __find_requires %{_rpmconfigdir}/ghc-deps.sh --requires %{buildroot}%{ghclibdir}\
|
||||||
|
%endif\
|
||||||
%{?1:cd %1-%2}\
|
%{?1:cd %1-%2}\
|
||||||
%cabal_install\
|
%cabal_install\
|
||||||
%cabal_pkg_conf\
|
%cabal_pkg_conf\
|
||||||
@ -218,3 +222,10 @@ find %{buildroot} -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \
|
|||||||
%global without_prof 1\
|
%global without_prof 1\
|
||||||
%global without_haddock 1\
|
%global without_haddock 1\
|
||||||
%global without_manual 1
|
%global without_manual 1
|
||||||
|
|
||||||
|
# skip prof libs, and documentation
|
||||||
|
# - without_hscolour needs to be set locally in the spec file
|
||||||
|
%ghc_test\
|
||||||
|
%global without_prof 1\
|
||||||
|
%global without_haddock 1\
|
||||||
|
%global without_manual 1
|
||||||
|
@ -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.13.9
|
Version: 0.13.10
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Macros for building packages for GHC
|
Summary: Macros for building packages for GHC
|
||||||
|
|
||||||
@ -60,6 +60,10 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 13 2011 Jens Petersen <petersen@redhat.com> - 0.13.10-1
|
||||||
|
- do not setup ghc-deps.sh when ghc_bootstrapping
|
||||||
|
- add ghc_test build config
|
||||||
|
|
||||||
* Wed Aug 3 2011 Jens Petersen <petersen@redhat.com> - 0.13.9-1
|
* Wed Aug 3 2011 Jens Petersen <petersen@redhat.com> - 0.13.9-1
|
||||||
- drop without_testsuite from ghc_bootstrap since it breaks koji
|
- drop without_testsuite from ghc_bootstrap since it breaks koji
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user