use %license

This commit is contained in:
Jens Petersen 2016-07-27 09:43:09 +09:00
parent 2a4c96dffe
commit 3b91fecb21

View File

@ -1,3 +1,4 @@
# generated by cabal-rpm-0.10.0
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name boxes
@ -6,7 +7,7 @@
Name: ghc-%{pkg_name}
Version: 0.1.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: 2D text pretty-printing library
License: BSD
@ -50,6 +51,8 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%check
%if %{with tests}
@ -66,7 +69,7 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
%doc LICENSE
%license LICENSE
%files devel -f %{name}-devel.files
@ -74,6 +77,9 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
* Wed Jul 27 2016 Jens Petersen <petersen@redhat.com> - 0.1.4-4
- use license macro
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild