diff --git a/lockdev.spec b/lockdev.spec index 36541cb..02d40bc 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.10.%{checkout}%{?dist} +Release: 0.11.%{checkout}%{?dist} License: LGPLv2 Group: System Environment/Libraries URL: https://alioth.debian.org/projects/lockdev/ @@ -80,13 +80,7 @@ mkdir -p %{buildroot}%{_lockdir} %pre getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 || : -%post -/sbin/ldconfig -if [ $1 -eq 1 ] ; then -# for the time until first reboot - mkdir --mode=0775 -p %{_lockdir} >/dev/null 2>&1 || : - chown root:lock %{_lockdir} >/dev/null 2>&1 || : -fi +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -105,6 +99,9 @@ fi %{_includedir}/* %changelog +* Mon Aug 26 2013 Jiri Popelka - 1.0.4-0.11.20111007git +- Remove the %%post scriptlet completely (#983772) + * Mon Aug 26 2013 Jiri Popelka - 1.0.4-0.10.20111007git - Silence possible %%post scriptlet errors (#983772)