packages: udev/udev.spec - ConsoleKit bcond added

jajcus jajcus at pld-linux.org
Thu Mar 18 09:51:28 CET 2010


Author: jajcus                       Date: Thu Mar 18 08:51:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ConsoleKit bcond added

---- Files affected:
packages/udev:
   udev.spec (1.321 -> 1.322) 

---- Diffs:

================================================================
Index: packages/udev/udev.spec
diff -u packages/udev/udev.spec:1.321 packages/udev/udev.spec:1.322
--- packages/udev/udev.spec:1.321	Thu Jan 28 07:33:01 2010
+++ packages/udev/udev.spec	Thu Mar 18 09:51:23 2010
@@ -9,6 +9,7 @@
 %bcond_with	dietlibc	# link initrd version with static dietlibc (currently broken and unsupported)
 %bcond_with	glibc		# link initrd version with static glibc
 %bcond_without	selinux		# build without SELinux support
+%bcond_without	ConsoleKit	# build without ConsoleKit support
 
 %ifarch sparc sparc64
 %define		with_glibc 1
@@ -54,7 +55,7 @@
 Patch0:		%{name}-so.patch
 Patch1:		%{name}-uClibc.patch
 URL:		http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
-BuildRequires:	ConsoleKit-devel >= 0.4.1
+%{?with_ConsoleKit:BuildRequires:	ConsoleKit-devel >= 0.4.1}
 BuildRequires:	acl-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -403,11 +404,13 @@
 %dev(c,5,1) %attr(660,root,console) /dev/console
 %dev(c,1,5) %attr(666,root,root) /dev/zero
 
+%if %{with ConsoleKit}
 %files acl
 %defattr(644,root,root,755)
 %attr(755,root,root) /lib/udev/udev-acl
 %attr(755,root,root) /usr/lib/ConsoleKit/run-seat.d/udev-acl.ck
 /lib/udev/rules.d/70-acl.rules
+%endif
 
 %files compat
 %defattr(644,root,root,755)
@@ -573,6 +576,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.322  2010/03/18 08:51:23  jajcus
+- ConsoleKit bcond added
+
 Revision 1.321  2010/01/28 06:33:01  arekm
 - up to 151
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/udev/udev.spec?r1=1.321&r2=1.322&f=u



More information about the pld-cvs-commit mailing list