From 6db49006d667fa5fbf724cd05b49c8454b2ed70c Mon Sep 17 00:00:00 2001 From: Aristeu Sergio Rozanski Filho Date: Jul 18 2007 17:25:59 +0000 Subject: including missing patch file --- diff --git a/edac-utils.spec b/edac-utils.spec index 58aaf9b..1097dde 100644 --- a/edac-utils.spec +++ b/edac-utils.spec @@ -1,6 +1,6 @@ Name: edac-utils Version: 0.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Userspace helper for kernel EDAC drivers Group: System Environment/Base @@ -83,6 +83,9 @@ fi %{_includedir}/edac.h %changelog +* Wed Jul 18 2007 Aristeu Rozanski 0.9-7 +- including missing .patch file + * Tue Jul 17 2007 Aristeu Rozanski 0.9-6 - building FC7 package diff --git a/edac_ctl-fix_model_parsing.patch b/edac_ctl-fix_model_parsing.patch new file mode 100644 index 0000000..ebd8333 --- /dev/null +++ b/edac_ctl-fix_model_parsing.patch @@ -0,0 +1,13 @@ +Index: edac-utils-0.9/src/util/edac-ctl +=================================================================== +--- edac-utils-0.9.orig/src/util/edac-ctl ++++ edac-utils-0.9/src/util/edac-ctl +@@ -271,7 +271,7 @@ sub parse_dimm_labels + } + if (/(model|board)\s*:\s*(.*)$/i) { + !$vendor && die "$file: line $line: MB model without vendor\n"; +- @models = split(/[, ]+/, $2); ++ @models = split(/,[\ ]*/, lc $2); + next; + } +