chiark / gitweb /
[PATCH] remove dbus and selinux stuff from the udev.spec file.
[elogind.git] / udev.spec
index cacaf2868a1758a5ff5e8653936b2a8f7518e1b8..0c8969dfac76b3610fd0788283fdd9017026a5e4 100644 (file)
--- a/udev.spec
+++ b/udev.spec
 # 1 - debugging enabled
 %define debug 0
 
-# if we want to build the DBUS "extra" package or not
-# 0 - no DBUS support
-# 1 - DBUS support
-%define dbus 0
-
-# if we want to build the SELinux "extra" package or not
-# 0 - no SELinux support
-# 1 - SELinux support
-%define selinux 0
-
 # if we want to build the scsi_id "extra" package or not
 # 0 - do not build the package
 # 1 - build it
@@ -34,7 +24,7 @@
 
 Summary: A userspace implementation of devfs
 Name: udev
-Version: 024
+Version: 025
 Release: 1
 License: GPL
 Group: Utilities/System
@@ -71,12 +61,6 @@ make CC="gcc $RPM_OPT_FLAGS" \
 %if %{scsi_id}
        extras/scsi_id  \
 %endif
-%if %{dbus}
-       extras/dbus     \
-%endif
-%if %{selinux}
-       extras/selinux  \
-%endif
 "
 
 %install
@@ -85,12 +69,6 @@ make DESTDIR=$RPM_BUILD_ROOT install \
 %if %{scsi_id}
        extras/scsi_id  \
 %endif
-%if %{dbus}
-       extras/dbus     \
-%endif
-%if %{selinux}
-       extras/selinux  \
-%endif
 "
 
 %post
@@ -124,10 +102,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /etc/init.d/udev
 %attr(0644,root,root) %{_mandir}/man8/udev*.8*
 
-%if %{dbus}
-       %config(noreplace) %attr(0644,root,root) /etc/dbus-1/system.d/udev_sysbus_policy.conf
-%endif
-
 %if %{scsi_id}
        %attr(755,root,root) /sbin/scsi_id
        %config(noreplace) %attr(0644,root,root) /etc/scsi_id.config