[putty] Update revision number inline with pkg guidelines.

Mark Chappell tremble at fedoraproject.org
Fri Sep 10 13:48:17 UTC 2010


commit 6bc01a4b45fd3df04a2a3317b81e55593a22b85e
Author: Mark Chappell <tremble at tremble.org.uk>
Date:   Fri Sep 10 15:48:56 2010 +0200

    Update revision number inline with pkg guidelines.

 .gitignore |    1 +
 putty.spec |   16 ++++++++++------
 sources    |    2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 28ceb2f..7e319b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 putty-0.60.tar.gz
 putty-0.60.tar.gz.RSA
 /putty-8991.tar.bz2
+/putty-20100910.tar.bz2
diff --git a/putty.spec b/putty.spec
index 4712ed0..6f03238 100644
--- a/putty.spec
+++ b/putty.spec
@@ -1,8 +1,9 @@
-%define svnver 8991
+%global svnver 8991
+%global svndate 20100910
 
 Name:		putty
 Version:	0.60
-Release:	6.%{svnver}svn%{?dist}
+Release:	6.%{svndate}svn%{?dist}
 Summary:	SSH, Telnet and Rlogin client
 License:	MIT
 Group:		Applications/Internet
@@ -10,9 +11,9 @@ URL:		http://www.chiark.greenend.org.uk/~sgtatham/putty/
 #Source0:	http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
 # The source for this package was pulled from upstream's vcs.  Use the
 # following commands to generate the tarball:
-#  svn export -r %{svnver} svn://svn.tartarus.org/sgt/putty putty-%{svnver}
-#  tar -cjvf putty-%{svnver}.tar.bz2 putty-%{svnver}
-Source0:	%{name}-%{svnver}.tar.bz2
+#  svn export -r %{svnver} svn://svn.tartarus.org/sgt/putty putty-%{svndate}
+#  tar -cjvf putty-%{svndate}.tar.bz2 putty-%{svndate}
+Source0:	%{name}-%{svndate}.tar.bz2
 Source2:	%{name}.desktop
 Source3:	%{name}.png
 Patch0:		putty-perms.patch
@@ -23,7 +24,7 @@ Putty is a SSH, Telnet & Rlogin client - this time for Linux.
 
 %prep
 
-%setup -q -n %{name}-%{svnver}
+%setup -q -n %{name}-%{svndate}
 %patch0 -p1
 
 %build
@@ -63,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 10 2010 Mark Chappell <tremble at fedoraproject.org> - 0.60-6.20100910svn
+- Bump version in line with packaging specs
+
 * Fri Sep 10 2010 Mark Chappell <tremble at fedoraproject.org> - 0.60-6.8991svn
 - Update to latest GTK2 version from SVN (r8991)
 
diff --git a/sources b/sources
index 4b6b680..1244e89 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-19250de33bbfd40e05f15a8c98f485bb  putty-8991.tar.bz2
+23b85c69dc13f99c16050619033456d6  putty-20100910.tar.bz2


More information about the scm-commits mailing list