File project.diff of Package file

--- file.spec.orig
+++ file.spec
@@ -139,7 +139,8 @@ popd
 %install
 export LANG=POSIX
 export LC_ALL=POSIX
-mkdir  %{buildroot}/etc
+mkdir -p %{buildroot}
+mkdir -p %{buildroot}/etc
 make DESTDIR=%{buildroot} install pkgdatadir='$(datadir)'
 rm -vf %{buildroot}%{_sysconfdir}/magic
 echo '# Localstuff: file(1) magic(5) for locally observed files' > %{buildroot}%{_sysconfdir}/magic
openSUSE Build Service is sponsored by