[libsynce] 0.15.1-2 disable hal

Andreas Bierfert awjb at fedoraproject.org
Fri Apr 29 11:53:57 UTC 2011


commit d000a32a2a3b7d89cb387b330e643b9deb8a97aa
Author: Andreas Bierfert <andreas.bierfert at lowlatency.de>
Date:   Fri Apr 29 13:53:44 2011 +0200

    0.15.1-2
    disable hal

 libsynce.spec |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/libsynce.spec b/libsynce.spec
index 2052377..09e9d2b 100644
--- a/libsynce.spec
+++ b/libsynce.spec
@@ -1,6 +1,6 @@
 Name:           libsynce
 Version:        0.15.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Connection library for Pocket PC devices
 
 Group:          System Environment/Libraries
@@ -10,7 +10,10 @@ Source0:        http://download.sf.net/synce/libsynce-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  dbus-glib-devel
+BuildRequires:  libudev-devel
+%if 0%{?fedora} < 16
 BuildRequires:  hal-devel
+%endif
 
 # Provide an upgrade path from the monilithic synce package
 Provides:       synce = %{version}-%{release}
@@ -39,7 +42,13 @@ homepage at http://www.synce.org
 %setup -q 
 
 %build
-%configure --disable-static --disable-rpath
+%configure \
+--disable-static --disable-rpath \
+%if 0%{?fedora} >= 16
+--disable-hal-support \
+%endif
+--enable-udev-support
+
 make %{?_smp_mflags}
 
 %install
@@ -69,6 +78,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/*.pc
 
 %changelog
+* Fri Apr 29 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
+- 0.15.1-2
+- disable hal
+
 * Mon Feb 14 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
 - 0.15.1-1
 - version upgrade


More information about the scm-commits mailing list