rpms/ksplice/F-8 ksplice-0.9.1-config.patch, NONE, 1.1 ksplice.spec, 1.1, 1.2 sources, 1.2, 1.3 ksplice-0.9.0-zlib-configure.patch, 1.1, NONE

Jochen Schmitt s4504kr at fedoraproject.org
Mon Oct 6 16:23:53 UTC 2008


Author: s4504kr

Update of /cvs/extras/rpms/ksplice/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15227

Modified Files:
	ksplice.spec sources 
Added Files:
	ksplice-0.9.1-config.patch 
Removed Files:
	ksplice-0.9.0-zlib-configure.patch 
Log Message:
New upstream release

ksplice-0.9.1-config.patch:

--- NEW FILE ksplice-0.9.1-config.patch ---
diff -up ksplice-0.9.1/configure.ac.auto ksplice-0.9.1/configure.ac
--- ksplice-0.9.1/configure.ac.auto	2008-09-27 03:27:53.000000000 +0200
+++ ksplice-0.9.1/configure.ac	2008-10-06 17:41:28.000000000 +0200
@@ -1,17 +1,17 @@
 AC_INIT([Ksplice], [0.9.1], [ksplice at mit.edu])
 
 AC_ARG_WITH([libbfd],
-  [  --with-libbfd=FILE      path to libbfd.a],
+  [  --with-libbfd=PATH      path to libbfd.a],
   [ac_libbfd=$withval],
-  [ac_libbfd=NONE])
+  [ac_libbfd=yes])
 
 AC_ARG_WITH([libiberty],
-  [  --with-libiberty=FILE   path to libiberty.a],
+  [  --with-libiberty=PATH   path to libiberty.a],
   [ac_libiberty=$withval],
-  [ac_libiberty=NONE])
+  [ac_libiberty=yes])
 
 AC_ARG_WITH([libz],
-  [  --with-libz=FILE        path to libz.a],
+  [  --with-libz=PATH        path to libz.a],
   [ac_libz=$withval],
   [ac_libz=NONE])
 
@@ -23,21 +23,23 @@ AC_ARG_WITH([bfd-include-dir],
 
 AC_PROG_CC
 
-if test "$ac_libz" = "NONE"; then
+if test "$ac_libz" = "yes"; then
+  AC_CHECK_LIB([z], [zlibVersion])
+elif test "$ac_libz" != "NONE"; then
+  LIBS="-L$ac_libz $LIBS"
   AC_CHECK_LIB([z], [zlibVersion])
-else
-  LIBS="$ac_libz $LIBS"
 fi
-if test "$ac_libiberty" = "NONE"; then
+if test "$ac_libiberty" = "yes"; then
   AC_CHECK_LIB([iberty], [objalloc_create])
-else
-  LIBS="$ac_libiberty $LIBS"
+elif test "$ac_libiberty" != "NONE"; then 
+  LIBS="-L$ac_libiberty $LIBS"
+  AC_CHECK_LIB([iberty], [objectalloc_create])
 fi
-if test "$ac_libbfd" = "NONE"; then
-  ac_libbfd=auto
+if test "$ac_libbfd" = "yes"; then
+  AC_CHECK_LIB([bfd], [bfd_openr], , [ac_libbfd=NONE])
+elif test "ac_libbfd" != "NONE"; then
+  LIBS="-L$ac_libbfd $LIBS"
   AC_CHECK_LIB([bfd], [bfd_openr], , [ac_libbfd=NONE])
-else
-  LIBS="$ac_libbfd $LIBS"
 fi
 
 if test "$ac_bfd_include_dir" != "NONE"; then
@@ -64,11 +66,11 @@ if ! test -e "objmanip-static"; then
     echo "If these libraries are already installed on your system, then you need"
     echo "to tell Ksplice where to find them by running configure again:"
     echo
-    echo "  ./configure --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>"
+    echo "  ./configure --with-libbfd=<libbfd-path> --with-libiberty=<libiberty-path>"
     echo
     echo "Depending on the host system you may also need to provide zlib:"
     echo
-    echo "  ./configure ... --with-libz=<libz.a>"
+    echo "  ./configure ... --with-libz=<libz-path>"
     echo
     exit 1
   fi


Index: ksplice.spec
===================================================================
RCS file: /cvs/extras/rpms/ksplice/F-8/ksplice.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ksplice.spec	28 Sep 2008 19:20:16 -0000	1.1
+++ ksplice.spec	6 Oct 2008 16:23:23 -0000	1.2
@@ -1,16 +1,15 @@
 Name:		ksplice
-Version:	0.9.0
-Release:	3%{?dist}
+Version:	0.9.1
+Release:	1%{?dist}
 Summary:	Patching a Linux kernel without reboot
 
 Group:		System Environment/Kernel
 License:	GPLv2
 URL:		http://web.mit.edu/ksplice
 Source0:	http://web.mit.edu/ksplice/dist/ksplice-%{version}-src.tar.gz
-#
-# bin-utils maintainer has sent the patch to upstream
-#
-Patch0:		ksplice-0.9.0-zlib-configure.patch
+
+# Sent to upstream via email
+Patch0:		ksplice-0.9.1-config.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -40,7 +39,7 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .zlib
+%patch0 -p1 -b .auto
 
 # Filter ksplce as a provide
 
@@ -64,7 +63,7 @@
 
 %build
 autoconf
-%configure  --with-libz
+%configure  --with-libz --with-libbfd --with-libiberty
 make %{?_smp_mflags}
 
 %install
@@ -85,6 +84,12 @@
 %doc COPYING README
 
 %changelog
+* Sun Oct  5 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.1-1
+- New upstream release
+
+* Sun Sep 28 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-4
+- Rebuild
+
 * Wed Sep 24 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.0-3
 - Comment about upstream status of the zlib patch
 - Remove rsync Req./BR.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ksplice/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	28 Sep 2008 19:20:16 -0000	1.2
+++ sources	6 Oct 2008 16:23:23 -0000	1.3
@@ -1 +1 @@
-33934d125cdc050cd68f8ea34f1f4f23  ksplice-0.9.0-src.tar.gz
+80cf2bdef0f7fa92a7f8dea78e965eac  ksplice-0.9.1-src.tar.gz


--- ksplice-0.9.0-zlib-configure.patch DELETED ---




More information about the fedora-extras-commits mailing list