SPECS: nut.spec - fix building without installed hal (realy require only ha...

baggins baggins at pld-linux.org
Wed Jun 4 13:47:12 CEST 2008


Author: baggins                      Date: Wed Jun  4 11:47:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix building without installed hal (realy require only hal-devel)

---- Files affected:
SPECS:
   nut.spec (1.143 -> 1.144) 

---- Diffs:

================================================================
Index: SPECS/nut.spec
diff -u SPECS/nut.spec:1.143 SPECS/nut.spec:1.144
--- SPECS/nut.spec:1.143	Tue Jun  3 16:45:07 2008
+++ SPECS/nut.spec	Wed Jun  4 13:47:07 2008
@@ -28,6 +28,7 @@
 Patch2:		%{name}-smartdp-load.patch
 Patch3:		%{name}-upssched-cmd-sysconf.patch
 Patch4:		%{name}-as-needed.patch
+Patch5:		%{name}-hal-paths.patch
 URL:		http://www.networkupstools.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -188,6 +189,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
@@ -209,6 +211,8 @@
 	--with-ssl \
 	--with-ipv6 \
 	%{?with_usb:--with-udev-dir=/etc/udev} \
+	%{?with_hal:--with-hal-callouts-path=%{_libdir}/hal} \
+	%{?with_hal:--with-hal-fdi-path=%{_datadir}/hal/fdi/information/20thirdparty} \
 	--with-statepath=%{_var}/lib/ups \
 	--with-drvpath=/lib/nut \
 	--with-cgipath=/home/services/httpd/cgi-bin \
@@ -455,6 +459,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.144  2008-06-04 11:47:07  baggins
+- fix building without installed hal (realy require only hal-devel)
+
 Revision 1.143  2008-06-03 14:45:07  baggins
 - separate hal stuff to -hal package
 - moved libupsclient to common (IMO makes more sense than keeping it in client)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nut.spec?r1=1.143&r2=1.144&f=u



More information about the pld-cvs-commit mailing list