do not %ghost /var/lock/lockdev (https://fedorahosted.org/fesco/ticket/525)
This commit is contained in:
parent
5430dec9ba
commit
55504ab25d
@ -10,7 +10,7 @@
|
|||||||
Summary: A library for locking devices
|
Summary: A library for locking devices
|
||||||
Name: lockdev
|
Name: lockdev
|
||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Release: 0.11.%{checkout}%{?dist}
|
Release: 0.12.%{checkout}%{?dist}
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: https://alioth.debian.org/projects/lockdev/
|
URL: https://alioth.debian.org/projects/lockdev/
|
||||||
@ -73,7 +73,6 @@ make install DESTDIR=%{buildroot}
|
|||||||
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
rm -f %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
# %%ghosted, but needs to be in buildroot
|
|
||||||
# on reboot re-created by %%{_prefix}/lib/tmpfiles.d/legacy.conf
|
# on reboot re-created by %%{_prefix}/lib/tmpfiles.d/legacy.conf
|
||||||
mkdir -p %{buildroot}%{_lockdir}
|
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
|
%files
|
||||||
%doc COPYING AUTHORS
|
%doc COPYING AUTHORS
|
||||||
%ghost %dir %attr(0775,root,lock) %{_lockdir}
|
%dir %attr(0775,root,lock) %{_lockdir}
|
||||||
%attr(2711,root,lock) %{_sbindir}/lockdev
|
%attr(2711,root,lock) %{_sbindir}/lockdev
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
@ -99,6 +98,9 @@ getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 |
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 27 2013 Jiri Popelka <jpopelka@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@redhat.com> - 1.0.4-0.11.20111007git
|
* Mon Aug 26 2013 Jiri Popelka <jpopelka@redhat.com> - 1.0.4-0.11.20111007git
|
||||||
- Remove the %%post scriptlet completely (#983772)
|
- Remove the %%post scriptlet completely (#983772)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user