add revision

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

View File

@ -13,6 +13,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:
@ -73,6 +74,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