aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshemminger <shemminger>2004-05-25 18:36:27 +0000
committershemminger <shemminger>2004-05-25 18:36:27 +0000
commitdb6f5c32c100bf2d2bbe5b2415cf7ccecd27a321 (patch)
tree316040407911ee6865285f5f067667fb87987dda
parentf38d0e33cf6c361647b9123de36899911c362c78 (diff)
downloadbridge-utils-db6f5c32c100bf2d2bbe5b2415cf7ccecd27a321.tar.gz
Allow LDFLAGS, add URL to spec
-rw-r--r--brctl/Makefile.in3
-rw-r--r--bridge-utils.spec5
2 files changed, 7 insertions, 1 deletions
diff --git a/brctl/Makefile.in b/brctl/Makefile.in
index f56bd9c..2e91455 100644
--- a/brctl/Makefile.in
+++ b/brctl/Makefile.in
@@ -3,6 +3,7 @@ KERNEL_HEADERS=-I@KERNEL_HEADERS@
CC=@CC@
CFLAGS= -Wall -g @CFLAGS@
+LDFLAGS=@LDFLAGS@
INCLUDE=-I../libbridge $(KERNEL_HEADERS)
LIBS= -L ../libbridge -lbridge -lsysfs
@@ -35,7 +36,7 @@ install: $(PROGRAMS)
$(INSTALL) -m 755 $(PROGRAMS) $(DESTDIR)$(sbindir)
brctl: $(brctl_OBJECTS) ../libbridge/libbridge.a
- $(CC) $(brctl_OBJECTS) $(LIBS) -o brctl
+ $(CC) $(LDFLAGS) $(brctl_OBJECTS) $(LIBS) -o brctl
# brctld is for debug only, not production use
brctld: $(brctld_OBJECTS)
diff --git a/bridge-utils.spec b/bridge-utils.spec
index ba230dd..b24e0bd 100644
--- a/bridge-utils.spec
+++ b/bridge-utils.spec
@@ -3,6 +3,7 @@ Version: 1.0
Release: 1
Copyright: GPL
Group: System Environment/Base
+Url: http://bridge.sourceforge.net
Summary: Utilities for configuring the linux ethernet bridge.
Buildroot: %{_tmppath}/%{name}-%{version}
Source: %{name}-%{version}.tar.gz
@@ -66,6 +67,10 @@ install -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}
%{_libdir}/libbridge.a
%changelog
+* Tue Man 25 2004 Stephen Hemminger <shemminger@osdl.org>
+- cleanup to work for 1.0 code
+- add dependency on sysfs
+
* Wed Nov 07 2001 Matthew Galgoci <mgalgoci@redhat.com>
- initial cleanup of spec file from net release