rpms/bti/EL-5 bti-023-editline.patch,NONE,1.1 bti.spec,1.7,1.8

Michel Alexandre Salim salimma at fedoraproject.org
Thu Aug 20 06:39:15 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/bti/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20696

Modified Files:
	bti.spec 
Added Files:
	bti-023-editline.patch 
Log Message:
* Thu Aug 20 2009 Michel Salim <salimma at fedoraproject.org> - 023-1
- Update to 023
- Build against libedit, since the version of readline shipped with RHEL5 is
  too old


bti-023-editline.patch:
 Makefile.in |    4 ++--
 bti.c       |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE bti-023-editline.patch ---
--- bti-023/Makefile.in.editline	2009-05-27 16:41:17.000000000 -0400
+++ bti-023/Makefile.in	2009-08-20 02:31:39.903685450 -0400
@@ -54,7 +54,7 @@
 bti_LDADD = $(LDADD)
 binSCRIPT_INSTALL = $(INSTALL_SCRIPT)
 SCRIPTS = $(bin_SCRIPTS)
-DEFAULT_INCLUDES = -I. at am__isrc@
+DEFAULT_INCLUDES = -I. at am__isrc@ -I/usr/include/editline
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
@@ -105,7 +105,7 @@
 LIBCURL = @LIBCURL@
 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
 LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
+LIBS = @LIBS@ -ledit -lcurses
 LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
 MKDIR_P = @MKDIR_P@
--- bti-023/bti.c.editline	2009-05-27 16:40:23.000000000 -0400
+++ bti-023/bti.c	2009-08-20 02:32:43.088938899 -0400
@@ -33,7 +33,7 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <curl/curl.h>
-#include <readline/readline.h>
+#include <editline/readline.h>
 #include <libxml/xmlmemory.h>
 #include <libxml/parser.h>
 #include <libxml/tree.h>


Index: bti.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bti/EL-5/bti.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- bti.spec	20 Aug 2009 05:30:15 -0000	1.7
+++ bti.spec	20 Aug 2009 06:39:15 -0000	1.8
@@ -7,10 +7,11 @@ Group:          Applications/Internet
 License:        GPLv2
 URL:            http://www.kernel.org/pub/linux/kernel/people/gregkh/bti
 Source0:        http://www.kernel.org/pub/linux/kernel/people/gregkh/bti/bti-%{version}.tar.bz2
+Patch0:         bti-023-editline.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # still supporting EL-5, rename to libcurl-devel once this changes
-BuildRequires:  curl-devel readline-devel libxml2-devel pcre-devel
+BuildRequires:  curl-devel libedit-devel libxml2-devel pcre-devel
 #Requires:       
 
 %description
@@ -20,6 +21,7 @@ and fast manner to annoy the whole world
 
 %prep
 %setup -q
+%patch0 -p1 -b .editline
 
 
 %build
@@ -53,12 +55,17 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Wed Aug 19 2009 Michel Salim <salimma at fedoraproject.org> - 023-1
+* Thu Aug 20 2009 Michel Salim <salimma at fedoraproject.org> - 023-1
 - Update to 023
+- Build against libedit, since the version of readline shipped with RHEL5 is
+  too old
 
 * Fri Mar 13 2009 Michel Salim <salimma at fedoraproject.org> - 015-1
 - Update to 015
 
+* Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 014-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
 * Mon Feb 23 2009 Michel Salim <salimma at fedoraproject.org> - 014-1
 - Update to 014
 




More information about the fedora-extras-commits mailing list