diff --git a/.gitignore b/.gitignore index ad0f70a..e5d730b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /MissingH-1.4.1.0.tar.gz /MissingH-1.4.3.0.tar.gz /MissingH-1.5.0.0.tar.gz +/MissingH-1.5.0.1.tar.gz diff --git a/ghc-MissingH.spec b/ghc-MissingH.spec index 3005e73..d63362a 100644 --- a/ghc-MissingH.spec +++ b/ghc-MissingH.spec @@ -1,13 +1,13 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.0.12 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name MissingH %global pkgver %{pkg_name}-%{version} -# testsuite missing deps: errorcall-eq-instance +%bcond_without tests Name: ghc-%{pkg_name} -Version: 1.5.0.0 +Version: 1.5.0.1 Release: 1%{?dist} Summary: Large utility library @@ -40,6 +40,9 @@ BuildRequires: ghc-process-prof BuildRequires: ghc-regex-compat-prof BuildRequires: ghc-time-prof BuildRequires: ghc-unix-prof +%if %{with tests} +BuildRequires: ghc-HUnit-devel +%endif # End cabal-rpm deps %description @@ -87,7 +90,6 @@ This package provides the Haskell %{pkg_name} profiling library. # Begin cabal-rpm setup: %setup -q -n %{pkgver} # End cabal-rpm setup -cabal-tweak-dep-ver random '< 1.2' '< 1.3' %build @@ -102,6 +104,12 @@ cabal-tweak-dep-ver random '< 1.2' '< 1.3' # End cabal-rpm install +%check +%if %{with tests} +%cabal_test +%endif + + %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -125,8 +133,8 @@ cabal-tweak-dep-ver random '< 1.2' '< 1.3' %changelog -* Tue Jun 07 2022 Jens Petersen - 1.5.0.0-1 -- https://hackage.haskell.org/package/MissingH-1.5.0.0/changelog +* Tue Jun 07 2022 Jens Petersen - 1.5.0.1-1 +- https://hackage.haskell.org/package/MissingH-1.5.0.1/changelog * Thu Jan 20 2022 Fedora Release Engineering - 1.4.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index fa385fa..c7b97ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (MissingH-1.5.0.0.tar.gz) = c8aee5081e3f43dac2be51de9d99b37aa03242ab4984ea3b667bb90036da981d176f94306cebf06d0932e11bff9cff3983ba226fd68d12fa19a2a149b841524c +SHA512 (MissingH-1.5.0.1.tar.gz) = 4939d9fd8665cfe0959c664245405ef3853fdfa6791d56bfd3189ba0e7ff7387f6faf39313256eb0b62731322c66200d62a17a98765fdaba2aa51dfb8314af22