SPECS: ipp2p.spec - reverted "use gcc for linking (we have -Wl, in...

hawk hawk at pld-linux.org
Fri Dec 8 14:35:52 CET 2006


Author: hawk                         Date: Fri Dec  8 13:35:52 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- reverted "use gcc for linking (we have -Wl, in ldflags)" from previous
  revision, breaks build
- workaround for builder automation to allow building against
  kernel-grsecurity (via bcond)
- release 2

---- Files affected:
SPECS:
   ipp2p.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/ipp2p.spec
diff -u SPECS/ipp2p.spec:1.50 SPECS/ipp2p.spec:1.51
--- SPECS/ipp2p.spec:1.50	Thu Nov 23 22:55:50 2006
+++ SPECS/ipp2p.spec	Fri Dec  8 14:35:47 2006
@@ -6,10 +6,15 @@
 %bcond_without	smp		# don't build SMP module
 %bcond_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
+%bcond_with	grsec_kernel	# build for kernel-grsecurity
+#
+%if %{with kernel} && %{with dist_kernel} && %{with grsec_kernel}
+%define	alt_kernel	grsecurity
+%endif
 #
 %define	iptables_ver	1.3.3
 #
-%define	_rel	1
+%define	_rel	2
 Summary:	IPP2P - a netfilter extension to identify P2P filesharing traffic
 Summary(pl):	IPP2P - rozszerzenie filtra pakietów identyfikujące ruch P2P
 Name:		ipp2p
@@ -185,7 +190,7 @@
 IPTABLES_VERSION="%{iptables_ver}"
 %{__cc} %{rpmcflags} -DIPTABLES_VERSION=\"$IPTABLES_VERSION\" -fPIC -c libipt_ipp2p.c
 #vim: "
-%{__cc} %{rpmldflags} -shared -o libipt_ipp2p.so libipt_ipp2p.o
+ld %{rpmldflags} -shared -o libipt_ipp2p.so libipt_ipp2p.o
 %endif
 
 %if %{with kernel}
@@ -244,6 +249,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2006/12/08 13:35:47  hawk
+- reverted "use gcc for linking (we have -Wl, in ldflags)" from previous
+  revision, breaks build
+- workaround for builder automation to allow building against
+  kernel-grsecurity (via bcond)
+- release 2
+
 Revision 1.50  2006/11/23 21:55:50  sparky
 - use %build_kernel_modules and %install_kernel_modules
 - use gcc for linking (we have -Wl, in ldflags)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipp2p.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list