fix packaging of license files when building without shared libraries

This commit is contained in:
Jens Petersen 2013-07-25 11:54:30 +09:00
parent 004b3351e5
commit 79ebbe76f8

View File

@ -24,7 +24,7 @@ Version: 2013.2.0.0
# - release can only be reset if all library versions get bumped simultaneously
# (eg for a major release)
# - minor release numbers should be incremented monotonically
Release: 23%{?dist}
Release: 24%{?dist}
Summary: Standard Haskell distribution
Group: Development/Tools
@ -261,7 +261,7 @@ alex|cabal-install|happy)
;;
*)
%ghc_lib_install $name $ver
echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name%{?ghc_without_shared:-devel}.files
echo "%doc packages/$name-$ver/LICENSE" >> ghc-$name.files
;;
esac
cd ..
@ -339,6 +339,9 @@ mv %{buildroot}%{_datadir}/HUnit-*/* %{buildroot}%{_docdir}/ghc-HUnit-*/
%changelog
* Thu Jul 25 2013 Jens Petersen <petersen@redhat.com> - 2013.2.0.0-24
- fix packaging of license files when building without shared libraries
* Sat May 4 2013 Jens Petersen <petersen@redhat.com> - 2013.2.0.0-23
- update to 2013.2.0.0
- new packages: GLURaw, OpenGLRaw