forked from pool/aaa_base
Repair spec file
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=603
This commit is contained in:
parent
9ccfdcb4b2
commit
342f29a8b3
@ -138,12 +138,14 @@ touch %buildroot/etc/inittab
|
|||||||
mkdir -p %{buildroot}%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
|
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
|
||||||
for f in %{buildroot}/var/adm/fillup-templates/* ; do
|
for f in %{buildroot}/var/adm/fillup-templates/* ; do
|
||||||
|
test -e "$f" || continue
|
||||||
mv $f %{buildroot}%{_fillupdir}/
|
mv $f %{buildroot}%{_fillupdir}/
|
||||||
done
|
done
|
||||||
rm -vrf %{buildroot}/var/adm/fillup-templates
|
rm -vrf %{buildroot}/var/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
%if "%{_fillupdir}" != "/usr/share/fillup-templates"
|
%if "%{_fillupdir}" != "/usr/share/fillup-templates"
|
||||||
for f in %{buildroot}/usr/share/fillup-templates/* ; do
|
for f in %{buildroot}/usr/share/fillup-templates/* ; do
|
||||||
|
test -e "$f" || continue
|
||||||
mv $f %{buildroot}%{_fillupdir}/
|
mv $f %{buildroot}%{_fillupdir}/
|
||||||
done
|
done
|
||||||
rm -vrf %{buildroot}/usr/share/fillup-templates
|
rm -vrf %{buildroot}/usr/share/fillup-templates
|
||||||
|
Loading…
Reference in New Issue
Block a user