Message ID | 20190131003518.10934-1-vishal.l.verma@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 27e8d272b88bf03b1e931202f58094771c27ebef |
Headers | show |
Series | [ndctl,1/2] ndctl.spec.in: remove obsolete ldconfig scriptlets | expand |
diff --git a/ndctl.spec.in b/ndctl.spec.in index bc65a47..25d5296 100644 --- a/ndctl.spec.in +++ b/ndctl.spec.in @@ -101,13 +101,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %check make check -%post -n LNAME -p /sbin/ldconfig +%ldconfig_scriptlets -n LNAME -%postun -n LNAME -p /sbin/ldconfig - -%post -n DAX_LNAME -p /sbin/ldconfig - -%postun -n DAX_LNAME -p /sbin/ldconfig +%ldconfig_scriptlets -n DAX_LNAME %define bashcompdir %(pkg-config --variable=completionsdir bash-completion)