devel/libcap libcap-2.06-shared.patch, NONE, 1.1 libcap.spec, 1.36, 1.37

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Thu Feb 21 16:23:57 UTC 2008


Author: karsten

Update of /cvs/extras/devel/libcap
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13606

Modified Files:
	libcap.spec 
Added Files:
	libcap-2.06-shared.patch 
Log Message:
- don't build static binaries (#433808)

libcap-2.06-shared.patch:

--- NEW FILE libcap-2.06-shared.patch ---
diff -up libcap-2.06/progs/Makefile.shared libcap-2.06/progs/Makefile
--- libcap-2.06/progs/Makefile.shared	2008-02-21 17:17:09.000000000 +0100
+++ libcap-2.06/progs/Makefile	2008-02-21 17:17:28.000000000 +0100
@@ -9,7 +9,8 @@ PROGS=getpcaps getcap setcap capsh
 all: $(PROGS)
 
 $(PROGS): %: %.o
-	$(CC) --static $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
+	#$(CC) --static $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
+	$(CC) $(COPTFLAG) $(LDFLAGS) -o $@ $< $(LIBS)
 
 %.o: %.c $(INCS)
 	$(CC) $(CFLAGS) -c $< -o $@


Index: libcap.spec
===================================================================
RCS file: /cvs/extras/devel/libcap/libcap.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- libcap.spec	20 Feb 2008 11:11:01 -0000	1.36
+++ libcap.spec	21 Feb 2008 16:23:13 -0000	1.37
@@ -1,6 +1,6 @@
 Name: libcap
 Version: 2.06
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Library for getting and setting POSIX.1e capabilities
 Source: http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/%{name}-%{version}.tar.gz
 Source1: http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/%{name}-1.10.tar.bz2
@@ -11,6 +11,8 @@
 Patch4: libcap-1.10-nostaticlib.patch
 Patch5: libcap-1.10-fPIC.patch
 Patch6: libcap-1.10-audit.patch
+
+Patch10: libcap-2.06-shared.patch
 URL: http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
 License: LGPLv2+
 Group: System Environment/Libraries
@@ -47,7 +49,7 @@
 %patch5 -p1
 %patch6 -p1
 cd ..
-
+%patch10 -p1
 
 %build
 # libcap can not be build with _smp_mflags:
@@ -98,6 +100,9 @@
 rm -rf ${RPM_BUILD_ROOT}
 
 %changelog
+* Thu Feb 21 2008 Karsten Hopp <karsten at redhat.com> 2.06-4
+- don't build static binaries (#433808)
+
 * Wed Feb 20 2008 Karsten Hopp <karsten at redhat.com> 2.06-3
 - temporarily add libcap-1 libraries to bootstrap some packages
 




More information about the fedora-extras-commits mailing list