additional fixes for handling binlib packages

epel9
Jens Petersen 8 years ago
parent 701fee7294
commit 52dc56db34

@ -80,10 +80,10 @@ fi\
if [ -d "%{buildroot}%{docdir}" ]; then\
echo "%{docdir}" >> %{basepkg}-devel.files\
fi\
for i in $(ls %{buildroot}%{_docdir}/%{!?1:*}%{?1:%{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}/\
mv %{buildroot}%{_docdir}/%{!?1:*}%{?1:%{basepkg}}/$i %{buildroot}%{_defaultlicensedir}/%{basepkg}/\
done\
for i in %{basepkg}.files %{basepkg}-devel.files; do\
if [ -f "$i" ]; then\

Loading…
Cancel
Save