X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev.spec;h=ae802ca8e563facdc39ea87c2da396c6f22de300;hb=311e9ae68139083c801284a52f498c105d7c09f9;hp=63d1835a4a0e9d8d413bd5901a0604ef75269e88;hpb=d54fe24caa38ffc6e5dee7ef5cdcb3c24a882bf8;p=elogind.git diff --git a/udev.spec b/udev.spec index 63d1835a4..ae802ca8e 100644 --- a/udev.spec +++ b/udev.spec @@ -16,6 +16,11 @@ # 1 - DBUS support %define dbus 0 +# if we want to build SELinux support in or not. +# 0 - no SELinux support +# 1 - SELinux support +%define selinux 1 + # if we want to enable debugging support in udev. If it is enabled, lots of # stuff will get sent to the debug syslog. # 0 - debugging disabled @@ -34,7 +39,7 @@ Summary: A userspace implementation of devfs Name: udev -Version: 018_bk +Version: 019_bk Release: 1 License: GPL Group: Utilities/System @@ -67,6 +72,11 @@ make CC="gcc $RPM_OPT_FLAGS" \ %else USE_DBUS=false \ %endif +%if %{selinux} + USE_SELINUX=true \ +%else + USE_SELINUX=false \ +%endif %if %{debug} DEBUG=true \ %else @@ -85,6 +95,11 @@ make DESTDIR=$RPM_BUILD_ROOT install \ %else USE_DBUS=false \ %endif +%if %{selinux} + USE_SELINUX=true \ +%else + USE_SELINUX=false \ +%endif %if %{lsb} USE_LSB=true \ %else @@ -135,6 +150,9 @@ rm -rf $RPM_BUILD_ROOT %endif %changelog +* Fri Feb 27 2004 Greg Kroah-Hartman +- added ability to build with SELinux support + * Thu Feb 19 2004 Greg Kroah-Hartman - add some more files to the documentation directory - add ability to build scsi_id and make it the default