From a1a1ee9ba19df677961969899c8a65977d5ae133 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 17 Sep 2015 18:50:39 +0900 Subject: [PATCH] use license macro; allow ghc-prim 0.4 --- ghc-deepseq-generics.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/ghc-deepseq-generics.spec b/ghc-deepseq-generics.spec index f78b6ca..6a7a3be 100644 --- a/ghc-deepseq-generics.spec +++ b/ghc-deepseq-generics.spec @@ -4,9 +4,6 @@ %bcond_with tests -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: ghc-%{pkg_name} Version: 0.1.1.2 Release: 2%{?dist} @@ -62,6 +59,7 @@ files. %prep %setup -q -n %{pkg_name}-%{version} +cabal-tweak-dep-ver ghc-prim '<0.4' '<0.5' %build @@ -71,6 +69,8 @@ files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %check %if %{with tests} @@ -87,13 +87,17 @@ files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %changelog +* Thu Sep 17 2015 Jens Petersen - 0.1.1.2-2 +- use license macro +- allow ghc-prim 0.4 + * Wed Jun 17 2015 Fedora Release Engineering - 0.1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild