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:40:54 +01:00
parent e7e66c0a71
commit a3cddf1df1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -196,7 +196,7 @@ install -p -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/reposd.service
%post
install -d -m 0755 -o root -g root /var/run/gather
/sbin/ldconfig
%{?ldconfig}
%systemd_post gatherer.service
%systemd_post reposd.service
@ -209,7 +209,7 @@ if [ $1 -eq 0 ]; then
fi
%postun
/sbin/ldconfig
%{?ldconfig}
%systemd_postun_with_restart gatherer.service
%systemd_postun_with_restart reposd.service
@ -247,7 +247,7 @@ function register()
%{_datadir}/%{name}/provider-register.sh -v $1 -m %{SCHEMA} -r %{REGISTRATION} > /dev/null 2>&1 || :;
}
/sbin/ldconfig
%{?ldconfig}
if [ $1 -ge 1 ]; then
registered=no
if [ -e /usr/sbin/cimserver ]; then
@ -287,7 +287,7 @@ if [ $1 -eq 0 ]; then
fi
fi
%postun provider -p /sbin/ldconfig
%ldconfig_postun provider
%changelog
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-11