- don't build static binaries (#433808)
This commit is contained in:
parent
83f7d0b97d
commit
5c19a860d6
13
libcap-2.06-shared.patch
Normal file
13
libcap-2.06-shared.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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 $@
|
@ -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 @@ Patch3: libcap-1.10-debian.patch
|
||||
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 @@ cd libcap-1.10
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
cd ..
|
||||
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
# libcap can not be build with _smp_mflags:
|
||||
@ -98,6 +100,9 @@ chmod +x ${RPM_BUILD_ROOT}/%{_lib}/*.so.*
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%changelog
|
||||
* Thu Feb 21 2008 Karsten Hopp <karsten@redhat.com> 2.06-4
|
||||
- don't build static binaries (#433808)
|
||||
|
||||
* Wed Feb 20 2008 Karsten Hopp <karsten@redhat.com> 2.06-3
|
||||
- temporarily add libcap-1 libraries to bootstrap some packages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user