Fix license clobbering.

This commit is contained in:
Elliott Sales de Andrade 2017-08-28 19:48:01 -04:00
parent 9261863491
commit 7934e3a84b
1 changed files with 12 additions and 6 deletions

View File

@ -1,18 +1,19 @@
# generated by cabal-rpm-0.11
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name uri-bytestring
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.3.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Haskell URI parsing as ByteStrings
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -56,7 +57,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkg_name}-%{version}
%setup -q -n %{pkgver}
%build
@ -65,6 +66,7 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
mv licenses/http-types/LICENSE licenses/LICENSE.http-types
%check
@ -81,13 +83,17 @@ This package provides the Haskell %{pkg_name} library development files.
%files -f %{name}.files
%license LICENSE
%license licenses/http-types/LICENSE
%license licenses/LICENSE.http-types
%files devel -f %{name}-devel.files
%doc README.md changelog.md licenses
%doc README.md changelog.md
%changelog
* Sun Aug 27 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.2.3.3-2
- Fix license clobbering.
- Update to latest spec template.
* Sat Jul 22 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.2.3.3-1
- spec file generated by cabal-rpm-0.11