diff --git a/.gitignore b/.gitignore index 6981a81..0260f6e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ crash-5.0.6.tar.gz /crash-7.0.3.tar.gz /crash-7.0.4.tar.gz /crash-7.0.5.tar.gz +/crash-7.0.7.tar.gz diff --git a/crash.spec b/crash.spec index 21b5bca..6dba540 100644 --- a/crash.spec +++ b/crash.spec @@ -3,8 +3,8 @@ # Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles Name: crash -Version: 7.0.5 -Release: 2%{?dist} +Version: 7.0.7 +Release: 1%{?dist} License: GPLv3 Group: Development/Debuggers Source: http://people.redhat.com/anderson/crash-%{version}.tar.gz @@ -16,8 +16,7 @@ BuildRequires: ncurses-devel zlib-devel lzo-devel snappy-devel bison readline-de Requires: binutils Provides: bundled(libiberty) Patch0: lzo_snappy.patch -Patch1: use_system_readline.patch -Patch2: crash_log.patch +Patch1: use_system_readline_v2.patch %description The core analysis suite is a self-contained tool that can be used to @@ -39,8 +38,7 @@ offered by Mission Critical Linux, or the LKCD kernel patch. %prep %setup -n %{name}-%{version} -q %patch0 -p1 -b lzo_snappy.patch -%patch1 -p1 -b use_system_readline.patch -%patch2 -p1 -b crash_log.patch +%patch1 -p1 -b use_system_readline_v2.patch %build make RPMPKG="%{version}-%{release}" CFLAGS="%{optflags}" @@ -69,6 +67,10 @@ rm -rf %{buildroot} %{_includedir}/* %changelog +* Wed Jun 11 2014 Dave Anderson - 7.0.7-1 +- Update to latest upstream release +- Fix Fedora_21_Mass_Rebuild FTBFS (BZ #1106090) + * Sat Jun 07 2014 Fedora Release Engineering - 7.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index fcceffb..c02f460 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3fba47055539e61ba3fb4d6e8a0e84b0 crash-7.0.5.tar.gz +a671c6aead4ce89a3123ccf0e04c6693 crash-7.0.7.tar.gz diff --git a/use_system_readline_v2.patch b/use_system_readline_v2.patch new file mode 100644 index 0000000..3780d80 --- /dev/null +++ b/use_system_readline_v2.patch @@ -0,0 +1,32 @@ +--- crash-7.0.7/cmdline.c.orig ++++ crash-7.0.7/cmdline.c +@@ -42,7 +42,8 @@ static int verify_args_input_file(char * + #define READLINE_LIBRARY + + #include +-#include ++#define vi_mode 0 ++#define emacs_mode 1 + #include + + static void readline_init(void); +--- crash-7.0.7/Makefile.orig ++++ crash-7.0.7/Makefile +@@ -200,7 +200,7 @@ TAR_FILES=${SOURCE_FILES} Makefile ${GPL + ${EXTENSION_SOURCE_FILES} ${MEMORY_DRIVER_FILES} + CSCOPE_FILES=${SOURCE_FILES} + +-READLINE_DIRECTORY=./${GDB}/readline ++READLINE_DIRECTORY=/usr/include/readline + BFD_DIRECTORY=./${GDB}/bfd + GDB_INCLUDE_DIRECTORY=./${GDB}/include + +@@ -228,7 +228,7 @@ gdb_merge: force + @rm -f ${PROGRAM} + @if [ ! -f ${GDB}/config.status ]; then \ + (cd ${GDB}; ./configure ${GDB_CONF_FLAGS} --with-separate-debug-dir=/usr/lib/debug \ +- --with-bugurl="" --with-expat=no --with-python=no; \ ++ --with-bugurl="" --with-expat=no --with-python=no --with-system-readline; \ + make --no-print-directory CRASH_TARGET=${TARGET}; echo ${TARGET} > crash.target) \ + else make --no-print-directory rebuild; fi + @if [ ! -f ${PROGRAM} ]; then \