SPECS: hwinfo.spec - fix for searching dbus headers (not sure if t...

arvenil arvenil at pld-linux.org
Wed May 23 21:37:55 CEST 2007


Author: arvenil                      Date: Wed May 23 19:37:55 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix for searching dbus headers (not sure if this is "the right way" but works)
- removed BR: dbus-devel (hal-devel already requires it)
- patch for searching some header
- BR: linux-libc-headers >= 7:2.6.20 (on AC is too old)

---- Files affected:
SPECS:
   hwinfo.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/hwinfo.spec
diff -u SPECS/hwinfo.spec:1.3 SPECS/hwinfo.spec:1.4
--- SPECS/hwinfo.spec:1.3	Wed May 23 20:06:26 2007
+++ SPECS/hwinfo.spec	Wed May 23 21:37:50 2007
@@ -15,9 +15,10 @@
 Source0:	http://ftp.debian.org/debian/pool/main/h/hwinfo/%{name}_%{version}.orig.tar.gz
 # Source0-md5:	afc560ebe9404fcb1553bc9ebda69700
 Patch0:		%{name}-kbd.patch
+Patch1:		%{name}-headers.patch
 URL:		http://packages.qa.debian.org/h/hwinfo.html
-BuildRequires:	dbus-devel
 BuildRequires:	hal-devel
+BuildRequires:	linux-libc-headers >= 7:2.6.20
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -26,11 +27,12 @@
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p1
 
 %build
 %{__make} -j1 \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags} `pkg-config --cflags dbus-1`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +57,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/05/23 19:37:50  arvenil
+- fix for searching dbus headers (not sure if this is "the right way" but works)
+- removed BR: dbus-devel (hal-devel already requires it)
+- patch for searching some header
+- BR: linux-libc-headers >= 7:2.6.20 (on AC is too old)
+
 Revision 1.3  2007/05/23 18:06:26  glen
 - kill some insanity (do no package FHS dirs)
 - adapterized, cc, cflags
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hwinfo.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list