quote %license and remove LICENSE from docdir
This commit is contained in:
parent
57443f3360
commit
56a9f6f8a8
@ -233,7 +233,8 @@ name=$(echo $i | sed -e "s/\(.*\)-.*/\1/")
|
||||
ver=$(echo $i | sed -e "s/.*-\(.*\)/\1/")
|
||||
cd $name-$ver
|
||||
%ghc_lib_install $name $ver
|
||||
echo "%license packages/$name-$ver/LICENSE" >> ghc-$name.files
|
||||
echo "%%license packages/$name-$ver/LICENSE" >> ghc-$name.files
|
||||
rm %{buildroot}%{_docdir}/ghc-$name/LICENSE
|
||||
cd ..
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user