rpms/sysprof-kmod/devel sysprof-config.patch, NONE, 1.1 sysprof-kmod.spec, 1.6, 1.7

Gianluca Sforna (giallu) fedora-extras-commits at redhat.com
Sun Oct 8 22:08:26 UTC 2006


Author: giallu

Update of /cvs/extras/rpms/sysprof-kmod/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1274

Modified Files:
	sysprof-kmod.spec 
Added Files:
	sysprof-config.patch 
Log Message:
patch out linux/config.h


sysprof-config.patch:

--- NEW FILE sysprof-config.patch ---
Index: sysprof-1.0.3/module/sysprof-module.c
===================================================================
--- sysprof-1.0.3/module/sysprof-module.c
+++ sysprof-1.0.3/module/sysprof-module.c
@@ -19,7 +19,6 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-#include <linux/config.h>
 #if !CONFIG_PROFILING
 # error Sysprof needs a kernel with profiling support compiled in.
 #endif


Index: sysprof-kmod.spec
===================================================================
RCS file: /cvs/extras/rpms/sysprof-kmod/devel/sysprof-kmod.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sysprof-kmod.spec	8 Oct 2006 21:35:19 -0000	1.6
+++ sysprof-kmod.spec	8 Oct 2006 22:08:25 -0000	1.7
@@ -30,7 +30,7 @@
 
 Name:           %{kmod_name}-kmod
 Version:        1.0.3
-Release:        4.%(echo %{kverrel} | tr - _)
+Release:        5.%(echo %{kverrel} | tr - _)
 Summary:        Sysprof kernel module
 
 Group:          System Environment/Kernel
@@ -40,6 +40,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch0:         %{kmod_name}-avoid_depmod.patch
+Patch1:         %{kmod_name}-config.patch
 
 ExclusiveArch:  i586 i686 x86_64
 
@@ -63,6 +64,7 @@
 %setup -q -c -T -a 0
 pushd %{kmod_name}-%{version}*
 %patch0 -p1 -b .patch0
+%patch0 -p1 -b .patch1
 # configure script breaks in mock builds (missing BRs), so we create here 
 # a config.h with the needed symbol
 echo '#define PACKAGE_VERSION "%{version}"' > config.h
@@ -103,8 +105,9 @@
 
 
 %changelog
-* Sun Oct 8 2006 Gianluca Sforna <giallu gmail com> 1.0.3-4
+* Sun Oct 8 2006 Gianluca Sforna <giallu gmail com> 1.0.3-5
 - rebuild for kernel 2.6.18-1.2747
+- add patch for linux/config.h include
 
 * Thu Oct 5 2006 Gianluca Sforna <giallu gmail com> 1.0.3-3
 - rebuild




More information about the scm-commits mailing list