strip with Cabal again; obsolete ghc-hoopl
unfortunately libs and exe's were not getting stripped by rpm
This commit is contained in:
parent
5a531e47b6
commit
03ef976954
@ -10,7 +10,7 @@
|
|||||||
#%%global without_hscolour 1
|
#%%global without_hscolour 1
|
||||||
|
|
||||||
Name: ghc-rpm-macros
|
Name: ghc-rpm-macros
|
||||||
Version: 1.9.8
|
Version: 1.9.9
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: RPM macros for building Haskell packages for GHC
|
Summary: RPM macros for building Haskell packages for GHC
|
||||||
|
|
||||||
@ -107,6 +107,9 @@ Obsoletes: ghc-content-store < 0.2.1-3, ghc-content-store-devel < 0.2.1-3
|
|||||||
Obsoletes: ghc-bdcs < 0.6.1-3, ghc-bdcs-devel < 0.6.1-3
|
Obsoletes: ghc-bdcs < 0.6.1-3, ghc-bdcs-devel < 0.6.1-3
|
||||||
Obsoletes: ghc-bdcs-api < 0.1.3-3, ghc-bdcs-api-devel < 0.1.3-3
|
Obsoletes: ghc-bdcs-api < 0.1.3-3, ghc-bdcs-api-devel < 0.1.3-3
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?fedora} >= 30
|
||||||
|
Obsoletes: ghc-hoopl < 74, ghc-hoopl-devel < 74
|
||||||
|
%endif
|
||||||
|
|
||||||
%description -n ghc-obsoletes
|
%description -n ghc-obsoletes
|
||||||
Meta package for obsoleting deprecated Haskell packages.
|
Meta package for obsoleting deprecated Haskell packages.
|
||||||
@ -175,6 +178,11 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 15 2019 Jens Petersen <petersen@redhat.com> - 1.9.9-1
|
||||||
|
- cabal_configure: re-enable stripping by Cabal
|
||||||
|
(remove --disable-executable-stripping --disable-library-stripping)
|
||||||
|
- obsolete hoopl
|
||||||
|
|
||||||
* Tue Apr 9 2019 Jens Petersen <petersen@redhat.com> - 1.9.8-1
|
* Tue Apr 9 2019 Jens Petersen <petersen@redhat.com> - 1.9.8-1
|
||||||
- re-instate ghc_without_shared since useful for standalone builds
|
- re-instate ghc_without_shared since useful for standalone builds
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ if ! [ -f Setup.hs -o -f Setup.lhs ]; then\
|
|||||||
cp %{_datadir}/ghc-rpm-macros/Setup.hs .\
|
cp %{_datadir}/ghc-rpm-macros/Setup.hs .\
|
||||||
fi\
|
fi\
|
||||||
%cabal --version\
|
%cabal --version\
|
||||||
%cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_ghcdocdir} --libsubdir='$compiler/$pkgid' --datasubdir='$pkgid' --libexecsubdir='$pkgid' --ghc %{?_ghcdynlibdir:--dynlibdir=%{_ghcdynlibdir}} %{!?ghc_without_dynamic:--enable-executable-dynamic} %{?with_tests:--enable-tests} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} --ghc-options="${CFLAGS:+$(echo ' '$CFLAGS | sed -e 's/ / -optc/g')} ${LDFLAGS:+$(echo ' '$LDFLAGS | sed -e 's/ / -optl/g')}" --disable-executable-stripping --disable-library-stripping %{?cabal_configure_options} $cabal_configure_extra_options
|
%cabal configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_ghcdocdir} --libsubdir='$compiler/$pkgid' --datasubdir='$pkgid' --libexecsubdir='$pkgid' --ghc %{?_ghcdynlibdir:--dynlibdir=%{_ghcdynlibdir}} %{!?ghc_without_dynamic:--enable-executable-dynamic} %{?with_tests:--enable-tests} %{?ghc_subpackaging:--user}%{!?ghc_subpackaging:--global} --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
|
||||||
|
|
||||||
# install
|
# install
|
||||||
%cabal_install %cabal copy --destdir=%{buildroot} %{?cabal_install_options}
|
%cabal_install %cabal copy --destdir=%{buildroot} %{?cabal_install_options}
|
||||||
|
Loading…
Reference in New Issue
Block a user