refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:55:40 +08:00
parent 38af68ed5e
commit 48f25af4ea

View File

@ -1,9 +1,11 @@
# generated by cabal-rpm-2.0.5
# generated by cabal-rpm-2.0.6
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name integer-logarithms
%global pkgver %{pkg_name}-%{version}
# testsuite missing deps: tasty-smallcheck
Name: ghc-%{pkg_name}
Version: 1.0.3
Release: 2%{?dist}
@ -69,6 +71,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
chmod a-x changelog.md readme.md
# End cabal-rpm setup
@ -81,20 +84,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%install
# Begin cabal-rpm install
%ghc_lib_install
chmod a-x changelog.md readme.md
# End cabal-rpm install
%if 0%{?fedora} < 31 || 0%{?rhel} < 8
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%endif
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE