|
|
|
@ -80,7 +80,7 @@ fi\
|
|
|
|
|
if [ -d "%{buildroot}%{docdir}" ]; then\
|
|
|
|
|
echo "%{docdir}" >> %{basepkg}-devel.files\
|
|
|
|
|
fi\
|
|
|
|
|
for i in $(ls %{buildroot}%{_docdir}/%{basepkg}/); do\
|
|
|
|
|
for i in $(ls %{buildroot}%{_docdir}/%{!?1:*}%{?1:%{basepkg})/); do\
|
|
|
|
|
echo "%%license %{?1:%{pkgnamever}/}$i" >> %{basepkg}.files\
|
|
|
|
|
mkdir -p %{buildroot}%{_defaultlicensedir}/%{basepkg}\
|
|
|
|
|
mv %{buildroot}%{_docdir}/%{basepkg}/$i %{buildroot}%{_defaultlicensedir}/%{basepkg}/\
|
|
|
|
|