Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b4fc450f4e
commit
5eb7269f09
|
@ -43,8 +43,6 @@ on relational data model.
|
|||
%package libs
|
||||
Summary: Runtime libraries for Groonga
|
||||
License: LGPLv2 and (MIT or GPLv2)
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconfig
|
||||
|
||||
%description libs
|
||||
This package contains the libraries for Groonga
|
||||
|
@ -195,7 +193,7 @@ cat <<EOC > $RPM_BUILD_ROOT%{_sysconfdir}/munin/plugin-conf.d/groonga
|
|||
env.gqtp_query_log_path %{_localstatedir}/log/groonga/query-gqtp.log
|
||||
EOC
|
||||
|
||||
%post libs -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
%post munin-plugins
|
||||
%{_sbindir}/munin-node-configure --shell --remove-also | grep -e 'groonga_' | sh
|
||||
|
@ -235,8 +233,6 @@ exit 0
|
|||
%postun httpd
|
||||
%systemd_postun groonga-httpd.service
|
||||
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%postun munin-plugins
|
||||
if [ $1 -eq 0 ]; then
|
||||
[ -f %{_localstatedir}/lock/subsys/munin-node ] && \
|
||||
|
|
Loading…
Reference in New Issue