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
1 changed files with 8 additions and 4 deletions

View File

@ -4,9 +4,6 @@
%bcond_with tests %bcond_with tests
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.1.1.2 Version: 0.1.1.2
Release: 2%{?dist} Release: 2%{?dist}
@ -62,6 +59,7 @@ files.
%prep %prep
%setup -q -n %{pkg_name}-%{version} %setup -q -n %{pkg_name}-%{version}
cabal-tweak-dep-ver ghc-prim '<0.4' '<0.5'
%build %build
@ -71,6 +69,8 @@ files.
%install %install
%ghc_lib_install %ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%check %check
%if %{with tests} %if %{with tests}
@ -87,13 +87,17 @@ files.
%files -f %{name}.files %files -f %{name}.files
%doc LICENSE %license LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild