diff --git a/alex.spec b/alex.spec index e092e8a..afef2fb 100644 --- a/alex.spec +++ b/alex.spec @@ -1,6 +1,7 @@ -# generated by cabal-rpm-0.12.5 +# generated by cabal-rpm-0.13 # https://fedoraproject.org/wiki/Packaging:Haskell +# release misses some test source files %bcond_with tests Name: alex @@ -10,7 +11,9 @@ Summary: Tool for generating lexical analysers in Haskell License: BSD Url: https://hackage.haskell.org/package/%{name} +# Begin cabal-rpm sources: Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +# End cabal-rpm sources BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -39,11 +42,12 @@ lex or flex for C/C++. %prep %setup -q +# end of cabal-rpm setup %build %ghc_bin_build - +# end of cabal-rpm build cd doc autoreconf ./configure --prefix=%{_prefix} --libdir=%{_libdir} @@ -53,7 +57,7 @@ cd .. %install %ghc_bin_install - +# end of cabal-rpm install install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 @@ -62,16 +66,20 @@ install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 %files +# Begin cabal-rpm files: %license LICENSE %doc CHANGELOG.md README.md TODO examples %{_bindir}/%{name} %{_datadir}/%{name}-%{version} - +# End cabal-rpm files %doc doc/alex %{_mandir}/man1/alex.1* %changelog +* Mon Oct 22 2018 Jens Petersen - 3.2.4-1 +- rebuild for static executable + * Sun Jul 22 2018 Jens Petersen - 3.2.4-1 - update to 3.2.4 - disable tests