rpms/libselinux/devel libselinux-rhat.patch, 1.129, 1.130 libselinux.spec, 1.287, 1.288

Daniel J Walsh (dwalsh) fedora-extras-commits at redhat.com
Mon Sep 24 15:56:04 UTC 2007


Author: dwalsh

Update of /cvs/extras/rpms/libselinux/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15000

Modified Files:
	libselinux-rhat.patch libselinux.spec 
Log Message:


libselinux-rhat.patch:

Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -r1.129 -r1.130
--- libselinux-rhat.patch	24 Sep 2007 15:42:11 -0000	1.129
+++ libselinux-rhat.patch	24 Sep 2007 15:56:01 -0000	1.130
@@ -11,6 +11,22 @@
  	if (!blocking && fcntl(fd, F_SETFL, O_NONBLOCK)) {
  		close(fd);
  		rc = -1;
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.34/src/Makefile
+--- nsalibselinux/src/Makefile	2007-08-03 16:02:56.000000000 -0400
++++ libselinux-2.0.34/src/Makefile	2007-09-24 11:51:42.000000000 -0400
+@@ -57,10 +57,10 @@
+ 	$(CC) $(CFLAGS) -I$(PYINC) -fPIC -DSHARED -c -o $@ $<
+ 
+ $(SWIGSO): $(SWIGLOBJ)
+-	$(CC) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux -L$(LIBDIR) -Wl,-soname,$@
+ 
+ $(LIBSO): $(LOBJS)
+-	$(CC) $(LDFLAGS) -shared -o $@ $^ -ldl -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
+ 	ln -sf $@ $(TARGET) 
+ 
+ %.o:  %.c policy.h
 diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.34/src/matchpathcon.c
 --- nsalibselinux/src/matchpathcon.c	2007-09-18 16:27:25.000000000 -0400
 +++ libselinux-2.0.34/src/matchpathcon.c	2007-09-18 16:32:31.000000000 -0400


Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.287
retrieving revision 1.288
diff -u -r1.287 -r1.288
--- libselinux.spec	24 Sep 2007 15:42:11 -0000	1.287
+++ libselinux.spec	24 Sep 2007 15:56:01 -0000	1.288
@@ -2,7 +2,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.0.34
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: Public domain (uncopyrighted)
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -124,6 +124,9 @@
 
 %changelog
 
+* Mon Sep 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.34-3
+- Add sparc patch to from Dennis Gilmore to build on Sparc platform
+
 * Mon Sep 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.34-2
 - Remove leaked file descriptor
 




More information about the fedora-extras-commits mailing list