This commit is contained in:
Jiri Popelka 2013-11-27 19:44:14 +01:00
parent 5430dec9ba
commit 55504ab25d

View File

@ -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@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
- Remove the %%post scriptlet completely (#983772)