From f5abfcbffd935eb83a5f4b57fab0d12bd4145667 Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Thu, 21 Nov 2013 15:45:12 +0100 Subject: [PATCH] create /usr/lib/tmpfiles.d/hplip.conf (bug #1015831). --- hplip.spec | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/hplip.spec b/hplip.spec index 32d9b3f..c47186d 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.13.11 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and MIT Group: System Environment/Daemons @@ -52,6 +52,9 @@ BuildRequires: dbus-devel # Make sure we get postscriptdriver tags. BuildRequires: python-cups, cups +# macros: %%{_tmpfilesdir}, %%{_udevrulesdir} +BuildRequires: systemd + %description The Hewlett-Packard Linux Imaging and Printing Project provides drivers for HP printers and multi-function peripherals. @@ -257,6 +260,15 @@ make install DESTDIR=%{buildroot} # Create /var/run/hplip mkdir -p %{buildroot}%{_localstatedir}/run/hplip +# install /usr/lib/tmpfiles.d/hplip.conf (bug #1015831) +mkdir -p %{buildroot}%{_tmpfilesdir} +cat > %{buildroot}%{_tmpfilesdir}/hplip.conf < - 3.13.11-2 +- create /usr/lib/tmpfiles.d/hplip.conf (bug #1015831). + * Wed Nov 06 2013 Jiri Popelka - 3.13.11-1 - 3.13.11