allow building with ghc 7.10 base

This commit is contained in:
Jens Petersen 2015-09-28 18:48:38 +09:00
parent 8b5ac8777a
commit 43987f0076
1 changed files with 9 additions and 7 deletions

View File

@ -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 <petersen@redhat.com> - 0.14.0.7-2
- allow building with ghc 7.10 base
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild