rpms/hardinfo/FC-6 fixsensors.patch, NONE, 1.1 hardinfo.spec, 1.1, 1.2 disablesensors.patch, 1.1, NONE

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Thu Aug 2 08:01:04 UTC 2007


Author: drago01

Update of /cvs/pkgs/rpms/hardinfo/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20853

Modified Files:
	hardinfo.spec 
Added Files:
	fixsensors.patch 
Removed Files:
	disablesensors.patch 
Log Message:
fix sensors

fixsensors.patch:

--- NEW FILE fixsensors.patch ---
diff -upNr hardinfo-0.4.2.2.orign/arch/linux/common/sensors.h hardinfo-0.4.2.2/arch/linux/common/sensors.h
--- hardinfo-0.4.2.2.orign/arch/linux/common/sensors.h	2007-07-20 16:44:57.000000000 +0200
+++ hardinfo-0.4.2.2/arch/linux/common/sensors.h	2007-07-27 10:30:58.000000000 +0200
@@ -254,7 +254,7 @@ static void read_sensors_acpi(void)
 
 	if ((tz = g_dir_open(path_tz, 0, NULL))) {
 	    const gchar *entry;
-	    gchar *temp = "";
+	    gchar *temp = g_strdup(""); 


Index: hardinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hardinfo/FC-6/hardinfo.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- hardinfo.spec	24 Jul 2007 05:43:08 -0000	1.1
+++ hardinfo.spec	2 Aug 2007 08:00:32 -0000	1.2
@@ -1,14 +1,14 @@
 Name: hardinfo
 Version: 0.4.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: System Profiler and Benchmark      
 
-Group: User Interface/Desktops     
+Group: Applications/System    
 License: GPL        
 URL: http://hardinfo.berlios.de/            
 Source0:  http://download.berlios.de/hardinfo/%{name}-%{version}.tar.bz2  
 Patch0: multilibfix.patch  
-Patch1: disablesensors.patch 
+Patch1: fixsensors.patch 
 Patch2: fixuserdsp.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -18,7 +18,6 @@
 BuildRequires:  pciutils 
 
 Requires:  pciutils 
-Requires:  zlib  
 
 %description
 HardInfo can gather information about a system's hardware and operating system,
@@ -27,9 +26,11 @@
 
 %prep
 %setup -q
+#fix multilib build isses (upstream working on better one)
 %patch0 -p1 -b .multilib
-#disable sensors for now (segfaults)
-%patch1 -p1 -b .disablesensors
+#fix sensors segfault
+%patch1 -p1 -b .fixsensors
+#use correct uids
 %patch2 -p1 -b .fixuserdsp
 
 %build
@@ -62,6 +63,12 @@
 
 
 %changelog
+* Thu Aug 02 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-3
+- Backport cleanups from devel
+- Fix and reenable sensor reading
+- Remove zlib requires
+- Fix group
+
 * Mon Jul 23 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-2
 - In Fedora (human)uids start with 500 not 1000
 


--- disablesensors.patch DELETED ---




More information about the fedora-extras-commits mailing list