%cabal_test: conditional is in cabal-rpm

epel9
Jens Petersen 10 months ago
parent 7c9482ee7a
commit 000d471347

@ -7,8 +7,8 @@
%endif
Name: ghc-rpm-macros
Version: 2.6.5
Release: 3%{?dist}
Version: 2.6.6
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
License: GPL-3.0-or-later
@ -185,6 +185,9 @@ mkdir -p %{buildroot}%{_docdir}/ghc/html/libraries
%changelog
* Mon Feb 19 2024 Jens Petersen <petersen@redhat.com> - 2.6.6-1
- cabal_test: drop conditional since it is in cabal-rpm
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

@ -109,10 +109,7 @@ fi\
%cabal_install %cabal copy --destdir=%{buildroot} %{?cabal_install_options}
# tests
%cabal_test\
%if %{with tests}\
%cabal test %{?cabal_test_options}\
%endif
%cabal_test %cabal test %{?cabal_test_options}
# no _pkgdocdir in EPEL <= 7
%ghc_pkgdocdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}

Loading…
Cancel
Save