add revision

This commit is contained in:
Jens Petersen 2020-07-17 16:38:02 +08:00
parent 59fc510e72
commit 8ef62e0126
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
@ -84,6 +85,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal
chmod a-x CHANGELOG.md
# End cabal-rpm setup