From 1183b5693042a614f658d39187280f7fceca0e1f Mon Sep 17 00:00:00 2001 From: Jens Petersen <petersen@redhat.com> Date: Tue, 27 Sep 2016 19:15:57 +0900 Subject: [PATCH] no longer remove license; use cabal_test --- ghc-xml-conduit.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/ghc-xml-conduit.spec b/ghc-xml-conduit.spec index 4a7308f..006aeb7 100644 --- a/ghc-xml-conduit.spec +++ b/ghc-xml-conduit.spec @@ -72,8 +72,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %prep %setup -q -n %{pkg_name}-%{version} @@ -86,13 +84,9 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE %install %ghc_lib_install -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post devel