refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:56:42 +08:00
parent c30880989c
commit 9452677afd

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/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name sandi %global pkg_name sandi
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
# testsuite missing deps: tasty-th
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.5 Version: 0.5
Release: 3%{?dist} Release: 3%{?dist}
@ -82,16 +84,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm install # 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 %files -f %{name}.files
# Begin cabal-rpm files: # Begin cabal-rpm files:
%license LICENSE %license LICENSE