use _tmpfilesdir macro

This commit is contained in:
Jiri Popelka 2013-04-15 10:16:57 +02:00
parent aee5018577
commit 5b7a9ccc35

View File

@ -331,8 +331,8 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/cups/banners
rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint
# install /usr/lib/tmpfiles.d/cups.conf (bug #656566, bug #893834) # install /usr/lib/tmpfiles.d/cups.conf (bug #656566, bug #893834)
mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/lib/tmpfiles.d mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
cat > ${RPM_BUILD_ROOT}%{_prefix}/lib/tmpfiles.d/cups.conf <<EOF cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf <<EOF
# See tmpfiles.d(5) for details # See tmpfiles.d(5) for details
d /run/cups 0755 root lp - d /run/cups 0755 root lp -