mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 14:55:26 +03:00
[PATCH] remove dbus and selinux stuff from the udev.spec file.
This commit is contained in:
parent
bd2598afb6
commit
91cb262895
26
udev.spec
26
udev.spec
@ -17,16 +17,6 @@
|
||||
# 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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user