handle the ghc-haskell-platform-devel license file correctly

This commit is contained in:
Jens Petersen 2016-09-02 19:07:33 +09:00
parent 898f2df64c
commit 805fc1c040

View File

@ -233,6 +233,8 @@ mv packages/* ..
%install
%ghc_libs_install $(egrep \-v "^(%{?separate_packages})-[0-9]" %{name}-%{upstream_version}/etc/build.packages) %{name}-%{version}
mv %{buildroot}%{_datadir}/licenses/ghc-haskell-platform{,-devel}
%ghc_strip_dynlinked
@ -250,7 +252,7 @@ mv packages/* ..
%files -n ghc-haskell-platform-devel -f ghc-haskell-platform-devel.files
%license haskell-platform-%{version}/LICENSE
%license %{name}-%{version}/LICENSE
%changelog