do not %ghost /run/hplip (bug #1034928)

This commit is contained in:
Jiri Popelka 2013-11-27 19:44:40 +01:00
parent 373117eecf
commit fd477d9a21

View File

@ -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@redhat.com> - 3.13.11-4
- do not %%ghost /run/hplip (bug #1034928)
* Mon Nov 25 2013 Tim Waugh <twaugh@redhat.com> - 3.13.11-3
- Moved hp-doctor to gui sub-package as it requires check module
(bug #1015441).