[vpnc/f20] update to svn revision 550 (bz 1016215)

Felix Schwarz fschwarz at fedoraproject.org
Mon Nov 10 09:09:25 UTC 2014


commit 09c07561913c9694466cc68a7a9b8a05af7f92f9
Author: Felix Schwarz <fschwarz at fedoraproject.org>
Date:   Thu Nov 6 10:37:21 2014 +0100

    update to svn revision 550 (bz 1016215)

 fetch-sources.sh |   15 +++++++++++++++
 sources          |    2 +-
 vpnc.spec        |    9 +++++++--
 3 files changed, 23 insertions(+), 3 deletions(-)
---
diff --git a/fetch-sources.sh b/fetch-sources.sh
new file mode 100755
index 0000000..426117b
--- /dev/null
+++ b/fetch-sources.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=0.5.3
+
+rm -rf vpnc-${VERSION}
+
+svn export http://svn.unix-ag.uni-kl.de/vpnc/trunk vpnc-${VERSION}
+SVN_REV=$(LANG=C svn info http://svn.unix-ag.uni-kl.de/vpnc/trunk | grep 'Revision: ' | cut -d ' ' -f2)
+
+TARFILE=vpnc-${VERSION}.svn${SVN_REV}.tar.gz
+rm -f "${TARFILE}"
+
+tar -czf "${TARFILE}" vpnc-${VERSION}
+rm -rf vpnc-${VERSION}
+
diff --git a/sources b/sources
index 570998b..ec107ec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2172b85ffb22853ae99e4ccdce0201f0  vpnc-0.5.3.svn457.tar.gz
+d45438923db1879efe3479ec27ec1000  vpnc-0.5.3.svn550.tar.gz
diff --git a/vpnc.spec b/vpnc.spec
index 2a9c27f..835d749 100644
--- a/vpnc.spec
+++ b/vpnc.spec
@@ -1,8 +1,8 @@
-%define snapshot .svn457
+%define snapshot .svn550
 
 Name:		vpnc
 Version:	0.5.3
-Release:	20%{snapshot}%{?dist}
+Release:	21%{snapshot}%{?dist}
 
 Summary:	IPSec VPN client compatible with Cisco equipment
 
@@ -19,6 +19,8 @@ Source5:	vpnc-helper
 # local changes sent upstream
 Source7:	vpnc-script
 Source8:	%{name}-tmpfiles.conf
+# script used to generate the svn snapshot, not used in the actual build process
+Source99:	fetch-sources.sh
 
 Patch1:		vpnc-0.5.1-dpd.patch
 Patch2:		vpnc-0.5.3-use-autodie.patch
@@ -119,6 +121,9 @@ install -d -m 0755 %{buildroot}%{_localstatedir}/run/%{name}/
 %config(noreplace) %{_sysconfdir}/vpnc/vpnc-script
 
 %changelog
+* Thu Nov 06 2014 Felix Schwarz <fschwarz at fedoraproject.org> - 0.5.3-21.svn550
+- update to svn revision 550 (bz 1016215)
+
 * Fri Nov 15 2013 Paul Wouters <pwouters at redhat.com> - 0.5.3-20.svn457
 - Actually patch the vpnc-script we ship with the unbound patch
 


More information about the scm-commits mailing list