fix removal of datadir LICENSE file

This commit is contained in:
Jens Petersen 2016-06-28 11:43:13 +09:00
parent 2a7c6e99f4
commit 184fc6865b
1 changed files with 6 additions and 3 deletions

View File

@ -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