From 8c2b990abdb764486970bac528f72d67223d6312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20H=C3=B6ger?= Date: Wed, 23 Apr 2008 12:19:52 +0000 Subject: [PATCH] - fix generation of nm-openvpn-service.name --- ...rkManager-openvpn-0.7.0-name-file-generation.patch | 11 +++++++++++ NetworkManager-openvpn.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 NetworkManager-openvpn-0.7.0-name-file-generation.patch diff --git a/NetworkManager-openvpn-0.7.0-name-file-generation.patch b/NetworkManager-openvpn-0.7.0-name-file-generation.patch new file mode 100644 index 0000000..f5554a8 --- /dev/null +++ b/NetworkManager-openvpn-0.7.0-name-file-generation.patch @@ -0,0 +1,11 @@ +--- Makefile.am 2008-04-23 12:57:02.000000000 +0200 ++++ Makefile.am.new 2008-04-23 12:58:15.000000000 +0200 +@@ -25,7 +25,7 @@ + nm-openvpn-service.name: $(srcdir)/nm-openvpn-service.name.in Makefile + sed -e 's|[@]BINDIR[@]|$(bindir)|g' \ + -e 's|[@]LIBEXECDIR[@]|$(libexecdir)|g' \ +- -e 's|[@]LIBDIR[@]|$(libdir)|g' \ ++ -e 's|[@]PREFIX[@]|$(prefix)|g' \ + < $(srcdir)/nm-openvpn-service.name.in \ + > nm-openvpn-service.name + diff --git a/NetworkManager-openvpn.spec b/NetworkManager-openvpn.spec index eeafad5..4a83c05 100644 --- a/NetworkManager-openvpn.spec +++ b/NetworkManager-openvpn.spec @@ -10,10 +10,11 @@ Summary: NetworkManager VPN integration for OpenVPN Name: NetworkManager-openvpn Epoch: 1 Version: 0.7.0 -Release: 9%{svn_snapshot}%{?dist} +Release: 10%{svn_snapshot}%{?dist} License: GPLv2+ URL: http://www.gnome.org/projects/NetworkManager/ Group: System Environment/Base +Patch: NetworkManager-openvpn-0.7.0-name-file-generation.patch # How to build the source package: # - Check out NetworkManager from Gnome SVN, currently trunk is used # - cd NetworkManager/vpn-daemons/openvpn @@ -56,6 +57,7 @@ with NetworkManager and the GNOME desktop. %prep %setup -q -n %{name}-%{version} +%patch -p1 -b .buildroot %build if [ ! -f configure ]; then @@ -105,6 +107,9 @@ fi %{_datadir}/locale/*/LC_MESSAGES/NetworkManager-openvpn.mo %changelog +* Wed Apr 23 2008 Christoph Höger 1:0.7.0-10.svn3549 +- (Hopefully) Fix generation of nm-openvpn-service.name (#443389) + * Wed Apr 09 2008 Dan Williams 1:0.7.0-9.svn3549 - Update for compat with new NM bits