From 1789ab99f277076091fb2c3b86c6e24bf5805399 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:53:57 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.6 --- ghc-base64-bytestring.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-base64-bytestring.spec b/ghc-base64-bytestring.spec index 386a599..ed35b99 100644 --- a/ghc-base64-bytestring.spec +++ b/ghc-base64-bytestring.spec @@ -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/ %global pkg_name base64-bytestring %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 + Name: ghc-%{pkg_name} Version: 1.0.0.3 Release: 1%{?dist} @@ -66,6 +68,7 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} +chmod a-x CHANGELOG.md README.md # End cabal-rpm setup @@ -78,20 +81,9 @@ This package provides the Haskell %{pkg_name} profiling library. %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGELOG.md README.md # 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 # Begin cabal-rpm files: %license LICENSE