[lockdev] do not %ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)

Jiří Popelka jpopelka at fedoraproject.org
Wed Nov 27 18:47:48 UTC 2013


commit 55504ab25d5609e9c03853f4e643f63ff5916438
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Wed Nov 27 19:44:14 2013 +0100

    do not %ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)

 lockdev.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/lockdev.spec b/lockdev.spec
index 02d40bc..909fae3 100644
--- a/lockdev.spec
+++ b/lockdev.spec
@@ -10,7 +10,7 @@
 Summary: A library for locking devices
 Name: lockdev
 Version: 1.0.4
-Release: 0.11.%{checkout}%{?dist}
+Release: 0.12.%{checkout}%{?dist}
 License: LGPLv2
 Group: System Environment/Libraries
 URL: https://alioth.debian.org/projects/lockdev/
@@ -73,7 +73,6 @@ make install DESTDIR=%{buildroot}
 
 rm -f %{buildroot}%{_libdir}/*.la
 
-# %%ghosted, but needs to be in buildroot
 # on reboot re-created by %%{_prefix}/lib/tmpfiles.d/legacy.conf
 mkdir -p %{buildroot}%{_lockdir}
 
@@ -87,7 +86,7 @@ getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 |
 
 %files
 %doc COPYING AUTHORS
-%ghost %dir %attr(0775,root,lock) %{_lockdir}
+%dir %attr(0775,root,lock) %{_lockdir}
 %attr(2711,root,lock)  %{_sbindir}/lockdev
 %{_libdir}/*.so.*
 %{_mandir}/man8/*
@@ -99,6 +98,9 @@ getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 |
 %{_includedir}/*
 
 %changelog
+* Wed Nov 27 2013 Jiri Popelka <jpopelka at redhat.com> - 1.0.4-0.12.20111007git
+- do not %%ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)
+
 * Mon Aug 26 2013 Jiri Popelka <jpopelka at redhat.com> - 1.0.4-0.11.20111007git
 - Remove the %%post scriptlet completely (#983772)
 


More information about the scm-commits mailing list