OBS User unknown 2007-10-24 23:58:48 +00:00 committed by Git OBS Bridge
parent d1350a5501
commit f080956669
4 changed files with 28 additions and 1 deletions

View File

@ -1,3 +1,14 @@
--- Makefile
+++ Makefile
@@ -85,7 +85,7 @@
.PHONY: libebtc
libebtc: $(OBJECTS2)
- $(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
+ $(LD) -shared -Wl,-soname -Wl,libebtc.so -o libebtc.so -lc $(OBJECTS2)
ebtables: $(OBJECTS) ebtables-standalone.o libebtc
$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
--- ebtables.sysv --- ebtables.sysv
+++ ebtables.sysv +++ ebtables.sysv
@@ -11,6 +11,14 @@ @@ -11,6 +11,14 @@

View File

@ -1,5 +1,14 @@
--- Makefile --- Makefile
+++ Makefile +++ Makefile
@@ -18,7 +18,7 @@
CFLAGS:=-Wall -Wunused
CFLAGS_SH_LIB:=-fPIC
CC:=gcc
-LD:=ld
+LD:=gcc
ifeq ($(shell uname -m),sparc64)
CFLAGS+=-DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
@@ -154,28 +154,28 @@ @@ -154,28 +154,28 @@
.PHONY: scripts .PHONY: scripts
scripts: ebtables-save ebtables.sysv ebtables-config scripts: ebtables-save ebtables.sysv ebtables-config

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 24 18:55:52 CEST 2007 - ro@suse.de
- fix build (use gcc not ld directly)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 17 16:17:18 CEST 2007 - prusnak@suse.cz Wed Oct 17 16:17:18 CEST 2007 - prusnak@suse.cz

View File

@ -15,7 +15,7 @@ License: GPL v2 or later
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
AutoReqProv: on AutoReqProv: on
Version: v2.0.8 Version: v2.0.8
Release: 4 Release: 6
Summary: Ethernet Bridge Tables Summary: Ethernet Bridge Tables
Source: %{name}-%{version}-2.tar.bz2 Source: %{name}-%{version}-2.tar.bz2
Patch0: %{name}-%{version}-makefile.diff Patch0: %{name}-%{version}-makefile.diff
@ -91,6 +91,8 @@ rm -rf $RPM_BUILD_ROOT
%{_sbindir}/ebtables-save %{_sbindir}/ebtables-save
%{_sbindir}/rcebtables %{_sbindir}/rcebtables
%changelog %changelog
* Wed Oct 24 2007 - ro@suse.de
- fix build (use gcc not ld directly)
* Wed Oct 17 2007 - prusnak@suse.cz * Wed Oct 17 2007 - prusnak@suse.cz
- fixed specfile not to include debug files in normal package - fixed specfile not to include debug files in normal package
* Fri Oct 12 2007 - prusnak@suse.cz * Fri Oct 12 2007 - prusnak@suse.cz