Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-03 18:13:09 +01:00
parent cc28ae0f2e
commit 43195a2eee
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -1,6 +1,6 @@
Name: libgnomekbd Name: libgnomekbd
Version: 3.26.0 Version: 3.26.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: A keyboard configuration library Summary: A keyboard configuration library
License: LGPLv2+ License: LGPLv2+
@ -62,9 +62,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp
%preun %preun
%gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb %gconf_schema_remove desktop_gnome_peripherals_keyboard_xkb
%post -p /sbin/ldconfig %ldconfig_scriptlets
%postun -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING.LIB %license COPYING.LIB
@ -84,6 +82,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp
%changelog %changelog
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-3
- Switch to %%ldconfig_scriptlets
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-2 * Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.0-2
- Remove obsolete scriptlets - Remove obsolete scriptlets