bridge-utils/bridge-utils.spec
Sascha Peilicke 7eb2f8b27c Accepting request 77497 from network:utilities
%make_install won't build with SLE10 SLE11 and SLE11-SP1
+ %make_install
/var/tmp/rpm-tmp.71410: line 23: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.71410 (%install)
and now the spec is the same as it was 1.4.
I updated it to 1.5 and changed the spec using the spec template provided by bridge-utils source tarball.
Now due to bug 707837, I reverted the spec file.
as for the header file and lib, it's always been packaged into the bridge-utils at lease back in the 1.4 time, and we never had a package called bridge-utils-devel, so I'm packaging them also in 1.5, Thanks (forwarded request 77393 from CFM56)

OBS-URL: https://build.opensuse.org/request/show/77497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bridge-utils?expand=0&rev=12
2011-08-01 08:15:37 +00:00

79 lines
2.2 KiB
RPMSpec

#
# spec file for package bridge-utils (Version 1.5)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: bridge-utils
BuildRequires: libsysfs
Version: 1.5
Release: 1
AutoReqProv: on
Group: Productivity/Networking/Routing
License: GPLv2+
Url: http://www.linux-foundation.org/en/Net:Bridge
Summary: Utilities for Configuring the Linux Ethernet Bridge
Source: %{name}-%{version}.tar.gz
Patch: %{name}-%{version}-hz.diff
Patch1: %{name}-%{version}-optflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains utilities for configuring the Linux ethernet
bridge. The Linux ethernet bridge can be used for connecting multiple
ethernet devices together. The connection is fully transparent: hosts
connected to one ethernet device see hosts connected to the other
ethernet devices directly.
Authors: Lennert Buytenhek <buytenh@gnu.org>
Authors:
--------
Lennert Buytenhek <buytenh@gnu.org>
%prep
%setup -q
%patch
%patch1
%build
autoreconf -fiv
%configure
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d -m 755 $RPM_BUILD_ROOT/sbin
mv $RPM_BUILD_ROOT%{_sbindir}/brctl $RPM_BUILD_ROOT/sbin
install -D -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}/libbridge.h
install -D -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}/libbridge.a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README THANKS TODO doc/[FHPRSW]*
%doc %{_mandir}/man?/*
%{_includedir}/*
%{_libdir}/lib*
/sbin/*
%changelog