From 33536e786996462d7a1a42602efa2b20d9b86d39 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 29 Feb 2024 22:25:23 +0800 Subject: [PATCH] %cabal_configure: drop cabal --version not really useful in practice --- macros.ghc | 1 - 1 file changed, 1 deletion(-) diff --git a/macros.ghc b/macros.ghc index c69eb2c..04166da 100644 --- a/macros.ghc +++ b/macros.ghc @@ -102,7 +102,6 @@ fi\ if [ -d "%{ghclibdir}/lib" ]; then\ subsubdir=/lib\ fi\ -%cabal --version\ # bindir hardcoded for flatpaks\ %cabal configure %{!-W:%{?ghc_name:--with-compiler=/usr/bin/ghc-%{ghc_version}}} --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_ghcdocdir} --libsubdir='$compiler'${subsubdir}/'$pkgid' --datasubdir='$pkgid' --libexecsubdir='$pkgid' --ghc --dynlibdir=%{?_ghcdynlibdir}%{?!_ghcdynlibdir:%{_libdir}/ghc-%{ghc_version}${subsubdir}} %{!?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')} -fhide-source-paths" %{?flatpak:--extra-lib-dirs=%{_libdir}} %{?cabal_configure_options} $cabal_configure_extra_options