diff --git a/sysprof.spec b/sysprof.spec index f92d68c..2400c9e 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -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 - 3.26.1-3 +- Switch to %%ldconfig_scriptlets + * Fri Jan 05 2018 Igor Gnatenko - 3.26.1-2 - Remove obsolete scriptlets