rpms/ksplice/F-10 ksplice-0.9.4-config.patch, NONE, 1.1 ksplice.spec, 1.8, 1.9 sources, 1.5, 1.6

Jochen Schmitt s4504kr at fedoraproject.org
Mon Dec 1 19:02:42 UTC 2008


Author: s4504kr

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

Modified Files:
	ksplice.spec sources 
Added Files:
	ksplice-0.9.4-config.patch 
Log Message:
New upstream release

ksplice-0.9.4-config.patch:

--- NEW FILE ksplice-0.9.4-config.patch ---
diff -up ksplice-0.9.4/configure.ac.auto ksplice-0.9.4/configure.ac
--- ksplice-0.9.4/configure.ac.auto	2008-11-22 03:31:27.000000000 +0100
+++ ksplice-0.9.4/configure.ac	2008-12-01 19:42:09.000000000 +0100
@@ -2,17 +2,17 @@ AC_INIT([Ksplice], [0.9.4], [devel at kspli
 AC_SUBST([KSPLICE_API_VERSION], [1])
 
 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])
 
@@ -24,21 +24,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
@@ -65,11 +67,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-10/ksplice.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ksplice.spec	11 Nov 2008 21:10:21 -0000	1.8
+++ ksplice.spec	1 Dec 2008 19:02:11 -0000	1.9
@@ -1,6 +1,6 @@
 Name:		ksplice
-Version:	0.9.3
-Release:	2%{?dist}
+Version:	0.9.4
+Release:	1%{?dist}
 Summary:	Patching a Linux kernel without reboot
 
 Group:		System Environment/Kernel
@@ -9,7 +9,7 @@
 Source0:	http://ksplice.com/dist/ksplice-%{version}-src.tar.gz
 
 # Sent to upstream via email
-Patch0:		ksplice-0.9.3-config.patch
+Patch0:		ksplice-0.9.4-config.patch
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -84,6 +84,9 @@
 %doc COPYING README
 
 %changelog
+* Mon Dec  1 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.4-1
+- New upstream release
+
 * Tue Nov 11 2008 Jochen Schmitt <Jochen herr-schmitt de> 0.9.3-2
 - New upstream release
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ksplice/F-10/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	11 Nov 2008 21:10:21 -0000	1.5
+++ sources	1 Dec 2008 19:02:11 -0000	1.6
@@ -1 +1 @@
-8da181e749e106bbf6d42ce0bcc6529e  ksplice-0.9.3-src.tar.gz
+c454d67280ff03a292cd623f9b5ba7ad  ksplice-0.9.4-src.tar.gz




More information about the fedora-extras-commits mailing list