diff --git a/NetworkManager-openvpn.spec b/NetworkManager-openvpn.spec index c5088e3..bff8441 100644 --- a/NetworkManager-openvpn.spec +++ b/NetworkManager-openvpn.spec @@ -11,7 +11,7 @@ Summary: NetworkManager VPN plugin for OpenVPN Name: NetworkManager-openvpn Epoch: 1 Version: 0.9.3.997 -Release: 1%{snapshot}%{?dist} +Release: 2%{snapshot}%{?dist} License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ Group: System Environment/Base @@ -30,8 +30,6 @@ BuildRequires: gnome-keyring-devel BuildRequires: libtool intltool gettext Requires(post): %{_bindir}/update-desktop-database Requires(postun): %{_bindir}/update-desktop-database -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig Requires: gtk3 >= %{gtk2_version} Requires: dbus >= %{dbus_version} Requires: NetworkManager >= %{nm_version} @@ -61,7 +59,6 @@ rm -f %{buildroot}%{_libdir}/NetworkManager/lib*.la %find_lang %{name} %post -/sbin/ldconfig /usr/bin/update-desktop-database > /dev/null touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then @@ -69,7 +66,6 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then fi %postun -/sbin/ldconfig /usr/bin/update-desktop-database > /dev/null touch --no-create %{_datadir}/icons/hicolor if [ -x /usr/bin/gtk-update-icon-cache ]; then @@ -90,6 +86,10 @@ fi %dir %{_datadir}/gnome-vpn-properties/openvpn %changelog +* Wed Jun 13 2012 Ville Skyttä - 1:0.9.3.997-2 +- Remove unnecessary ldconfig calls from scriptlets (#737330). +- Escape macros in changelog. + * Mon Mar 19 2012 Dan Williams - 1:0.9.3.997-1 - Update to 0.9.3.997 (0.9.4-rc1) @@ -204,7 +204,7 @@ fi - Fix some specfile issues (rh #477149) * Sat Dec 20 2008 Christoph Höger 0.7.0-17.svn4326 -- removed libpng-devel from BuildRequires, added %{_datadir}/gnome-vpn-properties/openvpn/ (rh #477149) +- removed libpng-devel from BuildRequires, added %%{_datadir}/gnome-vpn-properties/openvpn/ (rh #477149) * Fri Nov 21 2008 Dan Williams 1:0.7.0-16.svn4326 - Rebuild for updated NetworkManager @@ -219,7 +219,7 @@ fi * Tue Sep 30 2008 Dan Williams 1:0.7.0-16.svn4027 - Fix order of Password TLS certificate choosers (rh #464765) -- Use %find_lang for locale-specific files (rh #448551) +- Use %%find_lang for locale-specific files (rh #448551) - Fix --script-security issues with OpenVPN 2.1-rc9 and later (rh #460754) * Fri Aug 29 2008 Dan Williams 1:0.7.0-15.svn4027 @@ -255,7 +255,7 @@ fi - Update for compat with new NM bits * Mon Mar 03 2008 Tim Niemueller 1:0.7.0-9.svn3302 -- Mute %post and %postun scripts +- Mute %%post and %%postun scripts * Fri Feb 08 2008 Tim Niemueller 1:0.7.0-8.svn3302 - Update to latest SVN snapshot