Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 16:20:20 +01:00
parent 69b07d6095
commit 82fa1eb762
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: sysprof
Version: 3.26.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A system-wide Linux profiler
License: GPLv3+
@ -69,11 +69,8 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.appda
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
%post cli -p /sbin/ldconfig
%postun cli -p /sbin/ldconfig
%post -n libsysprof-ui -p /sbin/ldconfig
%postun -n libsysprof-ui -p /sbin/ldconfig
%ldconfig_scriptlets cli
%ldconfig_scriptlets -n libsysprof-ui
%files
@ -107,6 +104,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
%changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-3
- Switch to %%ldconfig_scriptlets
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
- Remove obsolete scriptlets