diff --git a/alex.spec b/alex.spec index f71ea73..eb98b12 100644 --- a/alex.spec +++ b/alex.spec @@ -6,7 +6,7 @@ Name: alex Version: 3.2.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Tool for generating lexical analysers in Haskell License: BSD @@ -15,9 +15,9 @@ Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz # End cabal-rpm sources +# Begin cabal-rpm deps: BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-array-devel BuildRequires: ghc-containers-devel BuildRequires: ghc-directory-devel @@ -41,13 +41,15 @@ lex or flex for C/C++. %prep +# Begin cabal-rpm setup: %setup -q -# end of cabal-rpm setup +# End cabal-rpm setup %build +# Begin cabal-rpm build: %ghc_bin_build -# end of cabal-rpm build +# End cabal-rpm build cd doc autoreconf ./configure --prefix=%{_prefix} --libdir=%{_libdir} @@ -56,8 +58,9 @@ cd .. %install +# Begin cabal-rpm install %ghc_bin_install -# end of cabal-rpm install +# End cabal-rpm install install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 @@ -77,6 +80,9 @@ install -D -m 0644 doc/alex.1 %{buildroot}%{_mandir}/man1/alex.1 %changelog +* Wed Feb 27 2019 Jens Petersen - 3.2.4-3 +- refresh to cabal-rpm-0.13 + * Thu Jan 31 2019 Fedora Release Engineering - 3.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild