From 20e45bcfdee25d6c411041f115f5b293e1afe7d4085ccef66558f0601fdc3fe6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 22 Jul 2016 21:40:44 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:lts:6 package:ghc-async revision:4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-async?expand=0&rev=17 --- ghc-async.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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