diff --git a/sg3_utils.changes b/sg3_utils.changes index cb840d8..4c401b1 100644 --- a/sg3_utils.changes +++ b/sg3_utils.changes @@ -5,6 +5,7 @@ Fri Dec 22 09:31:40 CET 2017 - hare@suse.de (bsc#1067839) - sg_inq: add option '-o/--only' to skip reading VPD pages (bsc#1067839) +- Revert 'postun' rpm spec changes after review ------------------------------------------------------------------- Mon Dec 18 11:31:02 CET 2017 - hare@suse.de diff --git a/sg3_utils.spec b/sg3_utils.spec index 9b12f77..7c5c6c7 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -104,14 +104,12 @@ rm -f %{buildroot}%{_libdir}/*.la %post %{?regenerate_initrd_post} -%post -n %lname -%{run_ldconfig} +%post -p /sbin/ldconfig -n %lname %postun %{?regenerate_initrd_post} -%postun -n %lname -%{run_ldconfig} +%postun -p /sbin/ldconfig -n %lname %posttrans %{?regenerate_initrd_posttrans}