From b8f09cfa95a36940779e888a7d0acd242c676a11 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 7 Jul 2021 23:21:47 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.9 --- ghc-HsYAML.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-HsYAML.spec b/ghc-HsYAML.spec index 59b27c3..cc57928 100644 --- a/ghc-HsYAML.spec +++ b/ghc-HsYAML.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 HsYAML @@ -74,6 +74,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. @@ -95,7 +96,6 @@ 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 ChangeLog.md # End cabal-rpm setup @@ -112,7 +112,9 @@ chmod a-x ChangeLog.md %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files