Fix the version number so that perl bindings test suite succeeds
This commit is contained in:
parent
617e85be5b
commit
ef7603bee8
28
readline-6.1-version.patch
Normal file
28
readline-6.1-version.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 0415e19a3f41596800e6144a5c5acca05929a90a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Lubomir Rintel <lkundrak@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
|
||||||
|
|
@ -1,11 +1,13 @@
|
|||||||
Summary: A library for editing typed command lines
|
Summary: A library for editing typed command lines
|
||||||
Name: readline
|
Name: readline
|
||||||
Version: 6.1
|
Version: 6.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
|
||||||
Source: ftp://ftp.gnu.org/gnu/readline/readline-%{version}.tar.gz
|
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
|
# fix file permissions, remove RPATH, use CFLAGS
|
||||||
Patch20: readline-6.1-shlib.patch
|
Patch20: readline-6.1-shlib.patch
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): /sbin/install-info
|
||||||
@ -46,6 +48,7 @@ library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .version
|
||||||
%patch20 -p1 -b .shlib
|
%patch20 -p1 -b .shlib
|
||||||
|
|
||||||
pushd examples
|
pushd examples
|
||||||
@ -124,6 +127,9 @@ fi
|
|||||||
%{_libdir}/lib*.a
|
%{_libdir}/lib*.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 17 2010 Lubomir Rintel <lkundrak@v3.sk> 6.1-2
|
||||||
|
- fix the version number in header
|
||||||
|
|
||||||
* Tue Jan 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 6.1-1
|
* Tue Jan 12 2010 Miroslav Lichvar <mlichvar@redhat.com> 6.1-1
|
||||||
- update to 6.1
|
- update to 6.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user