commit 754a1f69b13809f91629a1661ba25e7e0a18e0ac
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Sun Apr 13 04:12:35 2014 +0200

    - hal seems no longer used by default

 hwinfo.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/hwinfo.spec b/hwinfo.spec
index 83b7c94..1579eee 100644
--- a/hwinfo.spec
+++ b/hwinfo.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    hal     # HAL support
+#
 Summary:       hwinfo - the hardware detection tool used in SuSE Linux
 Summary(pl.UTF-8):     hwinfo - narzędzie do wykrywania sprzętu używane w SuSE 
Linuksie
 Name:          hwinfo
@@ -13,7 +17,7 @@ Patch2:               %{name}-x86_64.patch
 URL:           http://packages.qa.debian.org/h/hwinfo.html
 BuildRequires: dbus-devel >= 0.35
 BuildRequires: flex
-BuildRequires: hal-devel
+%{?with_hal:BuildRequires:     hal-devel}
 %ifarch %{ix86} %{x8664}
 BuildRequires: libx86emu-devel >= 1
 %endif
@@ -51,7 +55,7 @@ Pliki nagłówkowe biblioteki hwinfo.
 %{__make} -j1 \
        ARCH=%{_target_base_arch} \
        CC="%{__cc}" \
-       RPM_OPT_FLAGS="%{rpmcflags}"
+       RPM_OPT_FLAGS="%{rpmcflags} %{?with_hal:-DWITH_HAL}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hwinfo.git/commitdiff/754a1f69b13809f91629a1661ba25e7e0a18e0ac

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to