[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libosinfo] [libosinfo PATCH 1/7] spec: Switch to %ldconfig_scriptlets



This commit is bringing upstream the change done on Fedora on
af0ce7aab60e.

Signed-off-by: Fabiano Fidêncio <fidencio redhat com>
---
 libosinfo.spec.in | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/libosinfo.spec.in b/libosinfo.spec.in
index fd7e55c..57f8d94 100644
--- a/libosinfo.spec.in
+++ b/libosinfo.spec.in
@@ -79,12 +79,7 @@ then
   exit 1
 fi
 
-%clean
-rm -fr %{buildroot}
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
 
 %files -f %{name}.lang
 %defattr(-, root, root)
-- 
2.20.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]