rpms/udev/devel udev-135-sepol.patch, NONE, 1.1 udev.spec, 1.257, 1.258

Harald Hoyer harald at fedoraproject.org
Tue Dec 16 16:05:23 UTC 2008


Author: harald

Update of /cvs/pkgs/rpms/udev/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21895

Modified Files:
	udev.spec 
Added Files:
	udev-135-sepol.patch 
Log Message:
* Tue Dec 16 2008 Harald Hoyer <harald at redhat.com> 135-3
- added sepol patch


udev-135-sepol.patch:

--- NEW FILE udev-135-sepol.patch ---
diff -up udev-135/configure.ac.sepol udev-135/configure.ac
--- udev-135/configure.ac.sepol	2008-12-02 01:05:43.000000000 +0100
+++ udev-135/configure.ac	2008-12-16 10:45:24.000000000 +0100
@@ -55,6 +55,13 @@ if test "x$with_selinux" = xyes; then
 	AC_DEFINE(USE_SELINUX, [1] ,[compile with SELinux support])
 	SELINUX_LIBS="-lselinux"
 fi
+if test "x$with_selinux" = xyes; then
+	LIBS_save=$LIBS
+	AC_CHECK_LIB(sepol, sepol_genbools,
+		[SELINUX_LIBS="$SELINUX_LIBS -lsepol"],
+		[])
+	LIBS=$LIBS_save
+fi
 AC_SUBST([SELINUX_LIBS])
 AM_CONDITIONAL(USE_SELINUX, [test "x$with_selinux" = xyes], [compile with SELinux support])
 


Index: udev.spec
===================================================================
RCS file: /cvs/pkgs/rpms/udev/devel/udev.spec,v
retrieving revision 1.257
retrieving revision 1.258
diff -u -r1.257 -r1.258
--- udev.spec	16 Dec 2008 09:42:56 -0000	1.257
+++ udev.spec	16 Dec 2008 16:04:52 -0000	1.258
@@ -6,7 +6,7 @@
 Summary: A userspace implementation of devfs
 Name: udev
 Version: 135
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Provides: udev-persistent = %{version}-%{release}
@@ -374,6 +374,9 @@
 
 
 %changelog
+* Tue Dec 16 2008 Harald Hoyer <harald at redhat.com> 135-3
+- added sepol patch
+
 * Tue Dec 16 2008 Harald Hoyer <harald at redhat.com> 135-2
 - changed udevsettle -> udevadm settle
 - added doc to libudev-devel




More information about the fedora-extras-commits mailing list