47 lines
1.4 KiB
RPMSpec
47 lines
1.4 KiB
RPMSpec
|
|
Summary: Utilities for configuring the linux ethernet bridge
|
||
|
|
Name: bridge-utils
|
||
|
|
Version: 1.6
|
||
|
|
Release: 3
|
||
|
|
License: GPLv2+
|
||
|
|
URL: https://wiki.linuxfoundation.org/networking/bridge
|
||
|
|
Source0: https://www.kernel.org/pub/linux/utils/net/%{name}/%{name}-%{version}.tar.xz
|
||
|
|
Source1: https://www.kernel.org/pub/linux/utils/net/%{name}/%{name}-%{version}.tar.sign
|
||
|
|
#The following four patches come from fedoraproject
|
||
|
|
Patch0000: bridge-utils-1.0.4-inc.patch
|
||
|
|
Patch0001: bridge-utils-libbridge-cflags.patch
|
||
|
|
Patch0002: bridge-utils-1.6-add-missing-sys-time.patch
|
||
|
|
Patch0003: bridge-utils-1.6-fix-signed-unsigned-warnings.patch
|
||
|
|
|
||
|
|
Patch9000: bugfix-bridge-not-check-parameters.patch
|
||
|
|
Patch9001: bugfix-avoid-showmacs-memory-leak.patch
|
||
|
|
BuildRequires: libsysfs-devel autoconf automake libtool
|
||
|
|
BuildRequires: kernel-headers >= 2.6.16
|
||
|
|
|
||
|
|
%description
|
||
|
|
This package provides utilities for configuring the linux ethernet
|
||
|
|
bridge. The linux ethernet bridge can be used for connecting multiple
|
||
|
|
ethernet devices together.
|
||
|
|
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
autoconf
|
||
|
|
%configure
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install SUBDIRS="brctl doc"
|
||
|
|
|
||
|
|
%files
|
||
|
|
%{!?_licensedir:%global license %%doc}
|
||
|
|
%license COPYING
|
||
|
|
%doc AUTHORS doc/FAQ doc/HOWTO
|
||
|
|
%{_sbindir}/brctl
|
||
|
|
%{_mandir}/man8/brctl.8*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Wed Sep 18 2019 Alex Chao <zhaolei746@huawei.com> - 1.6-3
|
||
|
|
- Package init
|