SPECS: MAKEDEV.spec - bcond without selinux added

zbyniu zbyniu at pld-linux.org
Sat Nov 4 12:15:11 CET 2006


Author: zbyniu                       Date: Sat Nov  4 11:15:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond without selinux added

---- Files affected:
SPECS:
   MAKEDEV.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/MAKEDEV.spec
diff -u SPECS/MAKEDEV.spec:1.47 SPECS/MAKEDEV.spec:1.48
--- SPECS/MAKEDEV.spec:1.47	Sun Jul 30 19:46:07 2006
+++ SPECS/MAKEDEV.spec	Sat Nov  4 12:15:06 2006
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	selinux		# build without SELinux support
+#
 Summary:	Program to make and update /dev entries
 Summary(de):	Script zum Erstellen und Aktualisieren von /dev-Einträgen
 Summary(es):	Script para hacer y actualizar entradas referentes a dispositivos en /dev
@@ -70,7 +74,7 @@
 %{__make} \
 	CC="%{__cc}" \
 	OPTFLAGS="%{rpmcflags} %{rpmldflags}" \
-	SELINUX=1
+	%{?with_selinux:SELINUX=1}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -97,6 +101,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2006/11/04 11:15:06  zbyniu
+- bcond without selinux added
+
 Revision 1.47  2006/07/30 17:46:07  sparky
 - use rpmldflags
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/MAKEDEV.spec?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list