refresh to cabal-rpm-0.13

This commit is contained in:
Jens Petersen 2019-02-26 18:42:38 +08:00
parent 9d6efd1e26
commit 87e76701fb
1 changed files with 11 additions and 5 deletions

View File

@ -6,7 +6,7 @@
Name: %{pkg_name}
Version: 1.20.8
Release: 6%{?dist}
Release: 7%{?dist}
Summary: A liberalised C pre-processor for Haskell
License: GPL+ and LGPLv2+
@ -60,18 +60,21 @@ This package provides the Haskell %{name} library development files.
%prep
# Begin cabal-rpm setup:
%setup -q
# end of cabal-rpm setup
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_lib_build
# end of cabal-rpm build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
# end of cabal-rpm install
# End cabal-rpm install
install -D -p -m 0644 docs/cpphs.1 %{buildroot}%{_mandir}/man1/%{name}.1
@ -98,8 +101,8 @@ rm %{buildroot}%{_defaultlicensedir}/%{name}/LICENCE-LGPL
%files -n ghc-%{name} -f ghc-%{name}.files
# Begin cabal-rpm files:
%license LICENCE-LGPL
%license LICENCE-GPL
%license LICENCE-LGPL
# End cabal-rpm files
@ -108,6 +111,9 @@ rm %{buildroot}%{_defaultlicensedir}/%{name}/LICENCE-LGPL
%changelog
* Tue Feb 26 2019 Jens Petersen <petersen@redhat.com> - 1.20.8-7
- refresh to cabal-rpm-0.13
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild