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:36 +01:00
parent e135327d2f
commit 102fbea1ba
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -199,12 +199,10 @@ rm -rf %{buildroot}%{gem_instdir}/ext
mkdir -p %{buildroot}%{gem_extdir_mri} mkdir -p %{buildroot}%{gem_extdir_mri}
cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/ cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
%post -n libwsman1 -p /sbin/ldconfig %ldconfig_scriptlets -n libwsman1
%postun -n libwsman1 -p /sbin/ldconfig
%post server %post server
/sbin/ldconfig %{?ldconfig}
%systemd_post openwsmand.service %systemd_post openwsmand.service
%preun server %preun server
@ -213,11 +211,9 @@ cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdi
%postun server %postun server
rm -f /var/log/wsmand.log rm -f /var/log/wsmand.log
%systemd_postun_with_restart openwsmand.service %systemd_postun_with_restart openwsmand.service
/sbin/ldconfig %{?ldconfig}
%post client -p /sbin/ldconfig %ldconfig_scriptlets client
%postun client -p /sbin/ldconfig
%files -n libwsman1 %files -n libwsman1
%doc AUTHORS COPYING ChangeLog README.md TODO %doc AUTHORS COPYING ChangeLog README.md TODO