[packages/ndctl] - ldconfig in proper packages

qboosh qboosh at pld-linux.org
Sun May 13 20:53:47 CEST 2018


commit 45d485e560b4ec0ae54a6031c43e23b39e39a031
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun May 13 20:54:30 2018 +0200

    - ldconfig in proper packages

 ndctl.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ndctl.spec b/ndctl.spec
index 608993d..15fc486 100644
--- a/ndctl.spec
+++ b/ndctl.spec
@@ -186,8 +186,11 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
-%postun	-p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
+
+%post	-n daxctl-libs -p /sbin/ldconfig
+%postun	-n daxctl-libs -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ndctl.git/commitdiff/45d485e560b4ec0ae54a6031c43e23b39e39a031



More information about the pld-cvs-commit mailing list