From dca5b7e26ba472d7c6894eb1e931b967f3339b34 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:55:27 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.6 --- ghc-hslua.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-hslua.spec b/ghc-hslua.spec index c074420..f4c29dd 100644 --- a/ghc-hslua.spec +++ b/ghc-hslua.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 hslua %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: quickcheck-instances + Name: ghc-%{pkg_name} Version: 1.0.3.2 Release: 1%{?dist} @@ -73,6 +75,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 cabal-tweak-flag system-lua True sed -i "/fail /d" hslua.cabal @@ -89,20 +92,9 @@ rm -r cbits/lua-5.3.5 %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