%cabal_configure now outputs Cabal version
This commit is contained in:
parent
78b7c8e144
commit
c17dd21b04
@ -160,6 +160,7 @@ EOF
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 24 2017 Jens Petersen <petersen@redhat.com> - 1.6.19-1
|
* Fri Mar 24 2017 Jens Petersen <petersen@redhat.com> - 1.6.19-1
|
||||||
- fix haddock generation
|
- fix haddock generation
|
||||||
|
- cabal_configure now outputs Cabal version
|
||||||
|
|
||||||
* Thu Mar 16 2017 Jens Petersen <petersen@redhat.com> - 1.6.18-3
|
* Thu Mar 16 2017 Jens Petersen <petersen@redhat.com> - 1.6.18-3
|
||||||
- condition obsoletes on fedora version
|
- condition obsoletes on fedora version
|
||||||
|
@ -31,6 +31,7 @@ fi
|
|||||||
CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS\
|
CFLAGS="${CFLAGS:-%optflags}"; export CFLAGS\
|
||||||
%endif\
|
%endif\
|
||||||
LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"; export LDFLAGS\
|
LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"; export LDFLAGS\
|
||||||
|
%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_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
|
%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_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
|
||||||
|
Loading…
Reference in New Issue
Block a user