From cb228457ec75b10069fc583215ab0649003dc016 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:09 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.9 --- ghc-base-orphans.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-base-orphans.spec b/ghc-base-orphans.spec index 320036c..a55dfd9 100644 --- a/ghc-base-orphans.spec +++ b/ghc-base-orphans.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 +# generated by cabal-rpm-2.0.9 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name base-orphans @@ -54,6 +54,7 @@ This package provides the Haskell %{pkg_name} library development files. %package doc Summary: Haskell %{pkg_name} library documentation BuildArch: noarch +Requires: ghc-filesystem %description doc This package provides the Haskell %{pkg_name} library documentation. @@ -74,7 +75,6 @@ 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 @@ -91,7 +91,9 @@ chmod a-x CHANGES.markdown README.markdown %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files