From 691e02999befc4ffa1c35d495407624beae74371 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Sun, 26 Feb 2012 23:35:43 +0000
Subject: [PATCH] Update for unannounced gnome-keyring devel changes

---
 NetworkManager-pptp.spec | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/NetworkManager-pptp.spec b/NetworkManager-pptp.spec
index 2c1ef83..4022874 100644
--- a/NetworkManager-pptp.spec
+++ b/NetworkManager-pptp.spec
@@ -11,20 +11,18 @@ Summary:   NetworkManager VPN plugin for pptp
 Name:      NetworkManager-pptp
 Epoch:     1
 Version:   0.9.0
-Release:   3%{snapshot}%{?dist}
+Release:   4%{snapshot}%{?dist}
 License:   GPLv2+
 Group:     System Environment/Base
 URL:       http://www.gnome.org/projects/NetworkManager/
 Source:    %{name}-%{realversion}%{snapshot}.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
 
 BuildRequires: gtk3-devel             >= %{gtk3_version}
 BuildRequires: dbus-devel             >= %{dbus_version}
 BuildRequires: dbus-glib-devel        >= 0.74
 BuildRequires: NetworkManager-devel   >= %{nm_version}
 BuildRequires: NetworkManager-glib-devel >= %{nm_version}
-BuildRequires: gnome-keyring-devel
+BuildRequires: libgnome-keyring-devel
 BuildRequires: intltool gettext
 BuildRequires: ppp-devel = %{ppp_version}
 
@@ -69,10 +67,6 @@ rm -f %{buildroot}%{_libdir}/pppd/2.*/nm-pptp-pppd-plugin.a
 %find_lang %{name}
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %post
 /sbin/ldconfig
 /usr/bin/update-desktop-database &> /dev/null || :
@@ -107,6 +101,9 @@ fi
 %{_datadir}/gnome-vpn-properties/pptp/nm-pptp-dialog.ui
 
 %changelog
+* Sun Feb 26 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:0.9.0-4
+- Update for unannounced gnome-keyring devel changes
+
 * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild