refresh to cabal-rpm-2.0.6

This commit is contained in:
Jens Petersen 2020-06-19 16:53:55 +08:00
parent c9e36d5e3c
commit fb5567ed5b

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/
%global pkg_name base-orphans
@ -24,6 +24,7 @@ BuildRequires: ghc-base-prof
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-hspec-devel
BuildRequires: ghc-hspec-discover-devel
%endif
# End cabal-rpm deps
@ -75,6 +76,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
chmod a-x CHANGES.markdown README.markdown
# End cabal-rpm setup
@ -87,7 +89,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%install
# Begin cabal-rpm install
%ghc_lib_install
chmod a-x CHANGES.markdown README.markdown
# End cabal-rpm install
@ -95,16 +96,6 @@ chmod a-x CHANGES.markdown README.markdown
%cabal_test
%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