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