refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:57:55 +08:00
parent 47e20e2cb3
commit c59bc4da42
1 changed files with 2 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# 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 zip-archive %global pkg_name zip-archive
@ -37,11 +37,11 @@ BuildRequires: ghc-text-prof
BuildRequires: ghc-time-prof BuildRequires: ghc-time-prof
BuildRequires: ghc-unix-prof BuildRequires: ghc-unix-prof
BuildRequires: ghc-zlib-prof BuildRequires: ghc-zlib-prof
BuildRequires: unzip
%if %{with tests} %if %{with tests}
BuildRequires: ghc-HUnit-devel BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-process-devel BuildRequires: ghc-process-devel
BuildRequires: ghc-temporary-devel BuildRequires: ghc-temporary-devel
BuildRequires: unzip
%endif %endif
# End cabal-rpm deps # End cabal-rpm deps
@ -125,16 +125,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal
%cabal_test %cabal_test
%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