From 3b91fecb21f8fc2b704f7b4288cb862442d4eeca Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Wed, 27 Jul 2016 09:43:09 +0900 Subject: [PATCH] use %license --- ghc-boxes.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ghc-boxes.spec b/ghc-boxes.spec index 3902e03..b521b6b 100644 --- a/ghc-boxes.spec +++ b/ghc-boxes.spec @@ -1,3 +1,4 @@ +# generated by cabal-rpm-0.10.0 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name boxes @@ -6,7 +7,7 @@ Name: ghc-%{pkg_name} Version: 0.1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: 2D text pretty-printing library License: BSD @@ -50,6 +51,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -66,7 +69,7 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files @@ -74,6 +77,9 @@ This package provides the Haskell %{pkg_name} library development files. %changelog +* Wed Jul 27 2016 Jens Petersen - 0.1.4-4 +- use license macro + * Wed Feb 03 2016 Fedora Release Engineering - 0.1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild