use license macro; allow ghc-prim 0.4

This commit is contained in:
Jens Petersen 2015-09-17 18:50:39 +09:00
parent d6701e9726
commit a1a1ee9ba1

View File

@ -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 <petersen@redhat.com> - 0.1.1.2-2
- use license macro
- allow ghc-prim 0.4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild