[hplip] do not %ghost /run/hplip (bug #1034928)
Jiří Popelka
jpopelka at fedoraproject.org
Wed Nov 27 18:46:39 UTC 2013
commit fd477d9a218934655bb9b2ecccd37b1b79685879
Author: Jiri Popelka <jpopelka at redhat.com>
Date: Wed Nov 27 19:44:40 2013 +0100
do not %ghost /run/hplip (bug #1034928)
hplip.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/hplip.spec b/hplip.spec
index 0cde18d..885799b 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: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
@@ -257,8 +257,8 @@ make
mkdir -p %{buildroot}%{_bindir}
make install DESTDIR=%{buildroot}
-# Create /var/run/hplip
-mkdir -p %{buildroot}%{_localstatedir}/run/hplip
+# Create /run/hplip
+mkdir -p %{buildroot}/run/hplip
# install /usr/lib/tmpfiles.d/hplip.conf (bug #1015831)
mkdir -p %{buildroot}%{_tmpfilesdir}
@@ -409,7 +409,7 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%{_datadir}/hplip/prnt
%{_datadir}/hplip/scan
%{_localstatedir}/lib/hp
-%ghost %dir %attr(0775,root,lp) %{_localstatedir}/run/hplip
+%dir %attr(0775,root,lp) /run/hplip
%{_tmpfilesdir}/hplip.conf
%files common
@@ -467,6 +467,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
%postun libs -p /sbin/ldconfig
%changelog
+* Wed Nov 27 2013 Jiri Popelka <jpopelka at redhat.com> - 3.13.11-4
+- do not %%ghost /run/hplip (bug #1034928)
+
* Mon Nov 25 2013 Tim Waugh <twaugh at redhat.com> - 3.13.11-3
- Moved hp-doctor to gui sub-package as it requires check module
(bug #1015441).
More information about the scm-commits
mailing list