]> xenbits.xensource.com Git - libvirt.git/commitdiff
libvirt.spec.in: remove hal conditional
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 4 May 2016 15:22:18 +0000 (16:22 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 11 May 2016 15:42:37 +0000 (16:42 +0100)
Neither RHEL or Fedora build HAL anymore.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
libvirt.spec.in

index 6e597f1db4d00d9f6dbf8343de795dfdfe1b6879..9ada4d4e96d85566c5da848bcb2ec64caf6f0484 100644 (file)
@@ -87,7 +87,6 @@
 %define with_fuse          0%{!?_without_fuse:0}
 %define with_netcf         0%{!?_without_netcf:0}
 %define with_udev          0%{!?_without_udev:0}
-%define with_hal           0%{!?_without_hal:0}
 %define with_yajl          0%{!?_without_yajl:0}
 %define with_nwfilter      0%{!?_without_nwfilter:0}
 %define with_libpcap       0%{!?_without_libpcap:0}
     %define with_cgconfig 0%{!?_without_cgconfig:1}
 %endif
 
-%if %{with_udev} || %{with_hal}
+%if %{with_udev}
     %define with_nodedev 1
 %else
     %define with_nodedev 0
@@ -366,9 +365,6 @@ BuildRequires: libattr-devel
 BuildRequires: libblkid-devel >= 2.17
 # for augparse, optionally used in testing
 BuildRequires: augeas
-%if %{with_hal}
-BuildRequires: hal-devel
-%endif
 %if %{with_udev}
     %if 0%{?fedora} || 0%{?rhel} >= 7
 BuildRequires: systemd-devel >= 185
@@ -653,9 +649,6 @@ Summary: Nodedev driver plugin for the libvirtd daemon
 Group: Development/Libraries
 Requires: libvirt-daemon = %{version}-%{release}
 # needed for device enumeration
-    %if %{with_hal}
-Requires: hal
-    %endif
     %if %{with_udev}
         %if 0%{?fedora} || 0%{?rhel} >= 7
 Requires: systemd >= 185
@@ -1215,10 +1208,6 @@ rm -rf .git
     %define _without_apparmor --without-apparmor
 %endif
 
-%if ! %{with_hal}
-    %define _without_hal --without-hal
-%endif
-
 %if ! %{with_udev}
     %define _without_udev --without-udev
 %endif
@@ -1330,7 +1319,7 @@ rm -f po/stamp-po
            %{?_without_selinux} \
            %{?_with_selinux_mount} \
            %{?_without_apparmor} \
-           %{?_without_hal} \
+           --without-hal \
            %{?_without_udev} \
            %{?_without_yajl} \
            %{?_without_sanlock} \