refresh to cabal-rpm-2.0.9

This commit is contained in:
Jens Petersen 2021-07-08 00:30:11 +08:00
parent 5348e61de1
commit 9db218e972

View File

@ -1,4 +1,4 @@
# generated by cabal-rpm-2.0.6 # generated by cabal-rpm-2.0.9
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name foldl %global pkg_name foldl
@ -67,6 +67,7 @@ This package provides the Haskell %{pkg_name} library development files.
%package doc %package doc
Summary: Haskell %{pkg_name} library documentation Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch BuildArch: noarch
Requires: ghc-filesystem
%description doc %description doc
This package provides the Haskell %{pkg_name} library documentation. This package provides the Haskell %{pkg_name} library documentation.
@ -88,7 +89,6 @@ This package provides the Haskell %{pkg_name} profiling library.
# Begin cabal-rpm setup: # Begin cabal-rpm setup:
%setup -q -n %{pkgver} %setup -q -n %{pkgver}
cp -bp %{SOURCE1} %{pkg_name}.cabal cp -bp %{SOURCE1} %{pkg_name}.cabal
chmod a-x CHANGELOG.md README.md
# End cabal-rpm setup # End cabal-rpm setup
@ -105,7 +105,9 @@ chmod a-x CHANGELOG.md README.md
%check %check
%if %{with tests}
%cabal_test %cabal_test
%endif
%files -f %{name}.files %files -f %{name}.files