rpms/hardinfo/F-7 hardinfo.spec,1.5,1.6 libzfix.patch,1.1,1.2

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Wed Sep 5 16:27:29 UTC 2007


Author: drago01

Update of /cvs/pkgs/rpms/hardinfo/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18021

Modified Files:
	hardinfo.spec libzfix.patch 
Log Message:
fix libz location


Index: hardinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hardinfo/F-7/hardinfo.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- hardinfo.spec	2 Sep 2007 09:04:17 -0000	1.5
+++ hardinfo.spec	5 Sep 2007 16:26:56 -0000	1.6
@@ -1,6 +1,6 @@
 Name: hardinfo
 Version: 0.4.2.2
-Release: 6%{?dist}
+Release: 7%{?dist}
 Summary: System Profiler and Benchmark      
 
 Group: Applications/System    
@@ -66,6 +66,9 @@
 
 
 %changelog
+* Wed Sep 05 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-7
+- Fix libz location (/lib(64) vs /usr/lib(64))
+
 * Sun Sep 02 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-6
 - Fix libz detection RH #274381
 

libzfix.patch:

Index: libzfix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hardinfo/F-7/libzfix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libzfix.patch	2 Sep 2007 09:04:17 -0000	1.1
+++ libzfix.patch	5 Sep 2007 16:26:56 -0000	1.2
@@ -5,7 +5,7 @@
      static gint (*compress) (gchar *dst, glong *dstlen,
                               const gchar *src, glong srclen) = NULL;
  
-+    char* libz_locations[5] = {"libz","/usr/lib/libz.so","/usr/lib64/libz.so","/usr/lib/libz.so.1","/usr/lib64/libz.so.1"};
++    char* libz_locations[5] = {"libz","/lib/libz.so","/lib64/libz.so","/lib/libz.so.1","/lib64/libz.so.1"};
 +    int z;
 +
      if (!(compress && compressBound)) {




More information about the fedora-extras-commits mailing list