|
|
|
@ -85,8 +85,9 @@ name=$(echo $i | sed -e "s/\\(.*\\)-.*/\\1/")\
|
|
|
|
|
ver=$(echo $i | sed -e "s/.*-\\(.*\\)/\\1/")\
|
|
|
|
|
cd $name-$ver\
|
|
|
|
|
%ghc_lib_install $name $ver\
|
|
|
|
|
echo "%%license $name-$ver/LICENSE" >> ghc-$name.files\
|
|
|
|
|
rm %{buildroot}%{_docdir}/ghc-$name/LICENSE\
|
|
|
|
|
LICENSE_FILE=$(ls %{buildroot}%{_docdir}/ghc-$name/)\
|
|
|
|
|
echo "%%license $name-$ver/$LICENSE_FILE" >> ghc-$name.files\
|
|
|
|
|
rm %{buildroot}%{_docdir}/ghc-$name/$LICENSE_FILE\
|
|
|
|
|
mv *.files ..\
|
|
|
|
|
cd ..\
|
|
|
|
|
done\
|
|
|
|
|