From 917f5b76555c65fe11c65309fb8c3a5072b0d754 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 19 Jun 2020 16:55:14 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.6 --- ghc-haddock-library.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ghc-haddock-library.spec b/ghc-haddock-library.spec index e9d906a..3375eb2 100644 --- a/ghc-haddock-library.spec +++ b/ghc-haddock-library.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 haddock-library %global pkgver %{pkg_name}-%{version} +# testsuite missing deps: tree-diff + Name: ghc-%{pkg_name} Version: 1.8.0 Release: 1%{?dist} @@ -74,6 +76,7 @@ This package provides the Haskell %{pkg_name} profiling library. # Begin cabal-rpm setup: %setup -q -n %{pkgver} cp -bp %{SOURCE1} %{pkg_name}.cabal +chmod a-x CHANGES.md # End cabal-rpm setup @@ -86,20 +89,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %install # Begin cabal-rpm install %ghc_lib_install -chmod a-x CHANGES.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