Index: ghc-rpm-macros-1.7.4/macros.ghc =================================================================== --- ghc-rpm-macros-1.7.4.orig/macros.ghc +++ ghc-rpm-macros-1.7.4/macros.ghc @@ -9,25 +9,11 @@ LANG=en_US.utf8\ # compiler version %ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override} -# check ghc version was rebuilt against self -%ghc_check_bootstrap\ -if [ ! "$(ghc --info | grep \\"Booter\\ version\\",\\"%{ghc_version}\\")" ]; then\ - echo "Warning: this ghc build is not self-bootstrapped."\ -%if %{undefined ghc_bootstrapping}\ - echo "The ghc package should be rebuilt against its current version before\ -proceeding, to avoid dependency ABI breakage from a future ghc rebuild."\ - echo "To override set ghc_bootstrapping."\ - echo "Aborting."\ - exit 1\ -%endif\ -fi - # no _pkgdocdir in openSUSE %_pkgdocdir %{_docdir}/%{name} # configure %cabal_configure\ -%ghc_check_bootstrap\ %global _hardened_ldflags %{nil}\ %cabal --version\ %cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_ghcdocdir} --libsubdir='$compiler/$pkgkey' --datasubdir='$pkgid' --ghc %{!?ghc_without_dynamic:--enable-executable-dynamic} %{?with_tests:--enable-tests} --ghc-options="${CFLAGS:+$(echo ' '$CFLAGS | sed -e 's/ / -optc/g')} ${LDFLAGS:+$(echo ' '$LDFLAGS | sed -e 's/ / -optl/g')}" %{?cabal_configure_options} $cabal_configure_extra_options