From 681c5acb9c6687c964ce6c9249bd40c2717c6b40 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:59 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.6 --- ghc-bifunctors.spec | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/ghc-bifunctors.spec b/ghc-bifunctors.spec index ffb0490..4d9e38d 100644 --- a/ghc-bifunctors.spec +++ b/ghc-bifunctors.spec @@ -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 bifunctors @@ -31,6 +31,7 @@ BuildRequires: ghc-transformers-prof %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-hspec-devel +BuildRequires: ghc-hspec-discover-devel BuildRequires: ghc-transformers-compat-devel %endif # End cabal-rpm deps @@ -76,6 +77,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm setup @@ -88,7 +90,6 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGELOG.markdown README.markdown # End cabal-rpm install @@ -96,16 +97,6 @@ chmod a-x CHANGELOG.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