diff --git a/ghc-dataenc.spec b/ghc-dataenc.spec index 95102a3..1d0c7a3 100644 --- a/ghc-dataenc.spec +++ b/ghc-dataenc.spec @@ -2,17 +2,14 @@ %global pkg_name dataenc -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: ghc-%{pkg_name} Version: 0.14.0.7 Release: 2%{?dist} Summary: Data encoding library License: BSD -URL: http://hackage.haskell.org/package/%{pkg_name} -Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Url: https://hackage.haskell.org/package/%{pkg_name} +Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -41,7 +38,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} - +cabal-tweak-dep-ver base '< 4.8' '< 4.9' %build %ghc_lib_build @@ -50,6 +47,8 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +rm %{buildroot}%{ghc_pkgdocdir}/LICENSE + %post devel %ghc_pkg_recache @@ -60,13 +59,16 @@ This package provides the Haskell %{pkg_name} library development files. %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files %changelog +* Mon Sep 28 2015 Jens Petersen - 0.14.0.7-2 +- allow building with ghc 7.10 base + * Wed Jun 17 2015 Fedora Release Engineering - 0.14.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild