diff --git a/ghc-async.spec b/ghc-async.spec index b62cf06..514dea8 100644 --- a/ghc-async.spec +++ b/ghc-async.spec @@ -28,7 +28,6 @@ Url: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros -# Begin cabal-rpm deps: BuildRequires: ghc-stm-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} @@ -36,7 +35,6 @@ BuildRequires: ghc-HUnit-devel BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel %endif -# End cabal-rpm deps %description This package provides a higher-level interface over threads, in which an 'Async @@ -77,9 +75,7 @@ This package provides the Haskell %{pkg_name} library development files. %check -%if %{with tests} -%{cabal} test -%endif +%cabal_test %post devel