Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
69b07d6095
commit
82fa1eb762
12
sysprof.spec
12
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 <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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user