rpms/readline/F-13 readline-6.1-version.patch, NONE, 1.1 readline.spec, 1.46, 1.47

Lubomir Rintel lkundrak at fedoraproject.org
Sun Feb 21 13:29:49 UTC 2010


Author: lkundrak

Update of /cvs/pkgs/rpms/readline/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19498

Modified Files:
	readline.spec 
Added Files:
	readline-6.1-version.patch 
Log Message:
* Wed Feb 17 2010 Lubomir Rintel <lkundrak at v3.sk> 6.1-2
- fix the version number in header


readline-6.1-version.patch:
 readline.h |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--- NEW FILE readline-6.1-version.patch ---
>From 0415e19a3f41596800e6144a5c5acca05929a90a Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak at v3.sk>
Date: Wed, 17 Feb 2010 21:15:01 +0100
Subject: [PATCH] Fix the version number

---
 readline.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/readline.h b/readline.h
index 7a4ffaa..9a9e18a 100644
--- a/readline.h
+++ b/readline.h
@@ -39,9 +39,9 @@ extern "C" {
 #endif
 
 /* Hex-encoded Readline version number. */
-#define RL_READLINE_VERSION	0x0600		/* Readline 6.0 */
+#define RL_READLINE_VERSION	0x0601		/* Readline 6.0 */
 #define RL_VERSION_MAJOR	6
-#define RL_VERSION_MINOR	0
+#define RL_VERSION_MINOR	1
 
 /* Readline data structures. */
 
-- 
1.7.0



Index: readline.spec
===================================================================
RCS file: /cvs/pkgs/rpms/readline/F-13/readline.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- readline.spec	12 Jan 2010 14:55:51 -0000	1.46
+++ readline.spec	21 Feb 2010 13:29:48 -0000	1.47
@@ -1,11 +1,13 @@
 Summary: A library for editing typed command lines
 Name: readline
 Version: 6.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv3+
 Group: System Environment/Libraries
 URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
 Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
+# sent upstream
+Patch0: readline-6.1-version.patch
 # fix file permissions, remove RPATH, use CFLAGS
 Patch20: readline-6.1-shlib.patch
 Requires(post): /sbin/install-info
@@ -46,6 +48,7 @@ library.
 
 %prep
 %setup -q
+%patch0 -p1 -b .version
 %patch20 -p1 -b .shlib
 
 pushd examples
@@ -124,6 +127,9 @@ fi
 %{_libdir}/lib*.a
 
 %changelog
+* Wed Feb 17 2010 Lubomir Rintel <lkundrak at v3.sk> 6.1-2
+- fix the version number in header
+
 * Tue Jan 12 2010 Miroslav Lichvar <mlichvar at redhat.com> 6.1-1
 - update to 6.1
 



More information about the scm-commits mailing list