From d022530ecfa8023d194d41b39d393e888ea5a35e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 11 Jun 2021 19:23:04 +0800 Subject: [PATCH] cabal-rpm-2.0.9 --- alex.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/alex.spec b/alex.spec index ceb58a2..272475c 100644 --- a/alex.spec +++ b/alex.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %bcond_without tests @@ -40,7 +40,6 @@ lex or flex for C/C++. %prep # Begin cabal-rpm setup: %setup -q -chmod a-x CHANGELOG.md README.md TODO # End cabal-rpm setup @@ -63,7 +62,9 @@ install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 %check +%if %{with tests} %cabal_test +%endif %files