From 3682622c7b09b07d0495dbeb179e1bb8345220fca9fd59201d7b57c4e37b8584 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke Date: Fri, 22 Dec 2017 08:57:16 +0000 Subject: [PATCH] Accepting request 559266 from home:hreinecke:branches:Base:System - Revert 'postun' rpm spec changes after review OBS-URL: https://build.opensuse.org/request/show/559266 OBS-URL: https://build.opensuse.org/package/show/Base:System/sg3_utils?expand=0&rev=70 --- sg3_utils.changes | 1 + sg3_utils.spec | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) 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}