From f55d95f4d1888c1bd5a8df409ef1da2b6cf6d2e0 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 00:30:11 +0800 Subject: [PATCH] refresh to cabal-rpm-2.0.9 --- ghc-generics-sop.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ghc-generics-sop.spec b/ghc-generics-sop.spec index cd45b9f..78088df 100644 --- a/ghc-generics-sop.spec +++ b/ghc-generics-sop.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-2.0.6 --subpackage +# generated by cabal-rpm-2.0.9 --subpackage # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name generics-sop @@ -86,6 +86,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. @@ -115,7 +116,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -a1 -chmod a-x CHANGELOG.md cp -bp %{SOURCE2} %{pkg_name}.cabal # End cabal-rpm setup @@ -136,7 +136,9 @@ cp -bp %{SOURCE2} %{pkg_name}.cabal %check +%if %{with tests} %cabal_test +%endif %files -f %{name}.files