rpms/xcb-proto/devel xcb-proto-1.2-selinux.patch, NONE, 1.1 xcb-proto.spec, 1.3, 1.4

Adam Jackson ajax at fedoraproject.org
Thu Sep 11 19:09:28 UTC 2008


Author: ajax

Update of /cvs/pkgs/rpms/xcb-proto/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15496

Modified Files:
	xcb-proto.spec 
Added Files:
	xcb-proto-1.2-selinux.patch 
Log Message:
* Thu Sep 11 2008 Adam Jackson <ajax at redhat.com> 1.2-2
- Add additional selinux requests. (#461844)


xcb-proto-1.2-selinux.patch:

--- NEW FILE xcb-proto-1.2-selinux.patch ---
commit 91b5a1b56c744c2aa2740eb814d39ec48cbd27af
Author: Eamon Walsh <ewalsh at tycho.nsa.gov>
Date:   Tue Sep 2 17:38:30 2008 -0400

    xcb-xselinux: Add GetClientContext request.

diff --git a/src/xselinux.xml b/src/xselinux.xml
index 30a8a27..7751470 100644
--- a/src/xselinux.xml
+++ b/src/xselinux.xml
@@ -261,4 +261,16 @@ authorization from the authors.
     </reply>
   </request>
 
+  <request name="GetClientContext" opcode="22">
+    <field type="CARD32" name="resource" />
+    <reply>
+      <pad bytes="1" />
+      <field type="CARD32" name="context_len" />
+      <pad bytes="20" />
+      <list type="char" name="context">
+	<fieldref>context_len</fieldref>
+      </list>
+    </reply>
+  </request>
+
 </xcb>


Index: xcb-proto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xcb-proto/devel/xcb-proto.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xcb-proto.spec	10 Sep 2008 21:37:26 -0000	1.3
+++ xcb-proto.spec	11 Sep 2008 19:08:57 -0000	1.4
@@ -3,7 +3,7 @@
 
 Name:           xcb-proto
 Version:        1.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        XCB protocol descriptions
 
 Group:          Development/Libraries
@@ -16,6 +16,8 @@
 BuildRequires:	python
 Requires:       pkgconfig
 
+Patch0:		xcb-proto-1.2-selinux.patch
+
 %description
 XCB is a project to enable efficient language bindings to the X11 protocol.
 This package contains the protocol descriptions themselves.  Language
@@ -24,6 +26,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .selinux
 
 %build
 # Bit of a hack to get the pc file in /usr/share, no we can be noarch.
@@ -47,6 +50,9 @@
 %{python_sitearch}/xcbgen
 
 %changelog
+* Thu Sep 11 2008 Adam Jackson <ajax at redhat.com> 1.2-2
+- Add additional selinux requests. (#461844)
+
 * Wed Sep 10 2008 Adam Jackson <ajax at redhat.com> 1.2-1
 - xcb-proto 1.2
 




More information about the fedora-extras-commits mailing list