rpms/numactl/F-10 numactl-2.0.2-remove-warning.patch, NONE, 1.1 numactl.spec, 1.55, 1.56

Neil Horman nhorman at fedoraproject.org
Mon Feb 9 20:32:26 UTC 2009


Author: nhorman

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

Modified Files:
	numactl.spec 
Added Files:
	numactl-2.0.2-remove-warning.patch 
Log Message:
Resolves: bz484552

numactl-2.0.2-remove-warning.patch:

--- NEW FILE numactl-2.0.2-remove-warning.patch ---
diff -up numactl-2.0.2/libnuma.c.orig numactl-2.0.2/libnuma.c
--- numactl-2.0.2/libnuma.c.orig	2009-02-09 15:26:41.000000000 -0500
+++ numactl-2.0.2/libnuma.c	2009-02-09 15:26:45.000000000 -0500
@@ -306,9 +306,6 @@ set_configured_nodes(void)
 
 	d = opendir("/sys/devices/system/node");
 	if (!d) {
-		numa_warn(W_nosysfs,
-		   "/sys not mounted or no numa system. Assuming one node: %s",
-		  	strerror(errno));
 		maxconfigurednode = 0;
 	} else {
 		while ((de = readdir(d)) != NULL) {


Index: numactl.spec
===================================================================
RCS file: /cvs/extras/rpms/numactl/F-10/numactl.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- numactl.spec	29 Sep 2008 20:10:23 -0000	1.55
+++ numactl.spec	9 Feb 2009 20:31:55 -0000	1.56
@@ -1,7 +1,7 @@
 Name:		numactl
 Summary:	Library for tuning for Non Uniform Memory Access machines
 Version:	2.0.2
-Release:	2%{dist} 
+Release:	3%{dist} 
 License:	LGPLv2/GPLv2
 Group: 		System Environment/Base
 URL:		ftp://oss.sgi.com/www/projects/libnuma/download
@@ -9,6 +9,7 @@
 Buildroot:	%{_tmppath}/%{name}-buildroot
 
 Patch0: numactl-2.0.2-clearcache-fix.patch
+Patch1: numactl-2.0.2-remove-warning.patch
 
 ExcludeArch: s390 s390x
 
@@ -28,6 +29,7 @@
 %prep
 %setup -q 
 %patch0 -p1
+%patch1 -p1
 
 %build
 make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
@@ -72,6 +74,9 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Mon Feb 09 2009 Neil Horman <nhorman at redhat.com> - 2.0.2-3
+- Remove warning from libnuma (bz 484552)
+
 * Mon Sep 29 2008 Neil Horman <nhorman at redhat.com> - 2.0.2-2
 - Fix build break due to register selection in asm
 




More information about the fedora-extras-commits mailing list