Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:39:11 +01:00
parent b4fc450f4e
commit 5eb7269f09
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
1 changed files with 1 additions and 5 deletions

View File

@ -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 ] && \