rpms/libselinux/F-7 libselinux-rhat.patch, 1.118, 1.119 libselinux.spec, 1.264, 1.265

Daniel J Walsh (dwalsh) fedora-extras-commits at redhat.com
Tue Jun 26 09:24:10 UTC 2007


Author: dwalsh

Update of /cvs/extras/rpms/libselinux/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3522

Modified Files:
	libselinux-rhat.patch libselinux.spec 
Log Message:
* Tue Apr 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.14-2
- Update swig on each build
- Fix segfault on x86 platforms


libselinux-rhat.patch:

Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/F-7/libselinux-rhat.patch,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- libselinux-rhat.patch	23 Apr 2007 14:38:02 -0000	1.118
+++ libselinux-rhat.patch	26 Jun 2007 09:23:59 -0000	1.119
@@ -1225,3 +1225,16 @@
    SWIG_Python_SetConstant(d, "MATCHPATHCON_BASEONLY",SWIG_From_int((int)(1)));
    SWIG_Python_SetConstant(d, "MATCHPATHCON_NOTRANS",SWIG_From_int((int)(2)));
  }
+diff --exclude-from=exclude -N -u -r nsalibselinux/Makefile libselinux-2.0.23/Makefile
+--- nsalibselinux/Makefile	2007-06-01 10:44:08.000000000 -0400
++++ libselinux-2.0.13/Makefile	2007-06-26 05:11:37.000000000 -0400
+@@ -20,6 +20,9 @@
+ 	$(MAKE) -C src 
+ 	$(MAKE) -C utils
+ 
++swigify: 
++	$(MAKE) -C src swigify
++
+ pywrap: 
+ 	$(MAKE) -C src pywrap
+ 


Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/F-7/libselinux.spec,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -r1.264 -r1.265
--- libselinux.spec	24 Apr 2007 14:48:35 -0000	1.264
+++ libselinux.spec	26 Jun 2007 09:23:59 -0000	1.265
@@ -2,7 +2,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.0.14
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public domain (uncopyrighted)
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -53,6 +53,7 @@
 
 %build
 make clean
+make CFLAGS="-g %{optflags}" swigify
 make CFLAGS="-g %{optflags}" all pywrap
 
 %install
@@ -121,6 +122,10 @@
 %{_libdir}/python*/site-packages/selinux.py*
 
 %changelog
+* Tue Apr 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.14-2
+- Update swig on each build
+- Fix segfault on x86 platforms
+
 * Tue Apr 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.14-1
 - Upgrade to upstream
 	* Merged build fix for avc_internal.c from Joshua Brindle.




More information about the fedora-extras-commits mailing list