From 184fc6865bab6a9512a55a594013e24db7dbb5d7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 28 Jun 2016 11:43:13 +0900 Subject: [PATCH] fix removal of datadir LICENSE file --- ghc-pipes.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ghc-pipes.spec b/ghc-pipes.spec index 8c98477..d0b5724 100644 --- a/ghc-pipes.spec +++ b/ghc-pipes.spec @@ -1,4 +1,4 @@ -# generated by cabal-rpm-0.9.11 +# generated by cabal-rpm-0.9.12 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name pipes @@ -41,6 +41,9 @@ Advantages over traditional streaming libraries: * Bidirectionality: Implement duplex channels * Extensive Documentation: Second to none! +Import "Pipes" to use the library. +Read "Pipes.Tutorial" for an extensive tutorial. + %package devel Summary: Haskell %{pkg_name} library development files @@ -65,6 +68,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -75,8 +80,6 @@ This package provides the Haskell %{pkg_name} library development files. %post devel %ghc_pkg_recache -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %postun devel %ghc_pkg_recache