Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-02 11:25:09 +01:00
parent 2f601f9c53
commit 3dc75bb968
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -75,7 +75,7 @@ Name: NetworkManager
Summary: Network connection manager and user applications Summary: Network connection manager and user applications
Epoch: %{epoch_version} Epoch: %{epoch_version}
Version: %{rpm_version} Version: %{rpm_version}
Release: %{release_version}%{?snap}%{?dist} Release: %{release_version}%{?snap}%{?dist}.1
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
URL: http://www.gnome.org/projects/NetworkManager/ URL: http://www.gnome.org/projects/NetworkManager/
@ -522,11 +522,8 @@ fi
%systemd_postun %systemd_postun
%post glib -p /sbin/ldconfig %ldconfig_scriptlets glib
%postun glib -p /sbin/ldconfig %ldconfig_scriptlets libnm
%post libnm -p /sbin/ldconfig
%postun libnm -p /sbin/ldconfig
%files %files
@ -696,6 +693,9 @@ fi
%endif %endif
%changelog %changelog
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:1.10.2-1.1
- Switch to %%ldconfig_scriptlets
* Fri Dec 15 2017 Thomas Haller <thaller@redhat.com> - 1:1.10.2-1 * Fri Dec 15 2017 Thomas Haller <thaller@redhat.com> - 1:1.10.2-1
- Update to 1.10.2 release - Update to 1.10.2 release