- Cleanup with spec-cleaner
- Remove the /sbin/ link, it should not be needed. Lets see what breaks, people should migrate to bridge anwyay OBS-URL: https://build.opensuse.org/package/show/network:utilities/bridge-utils?expand=0&rev=22
This commit is contained in:
parent
278cdaa2b6
commit
810f244614
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 3 10:09:17 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Remove the /sbin/ link, it should not be needed.
|
||||||
|
Lets see what breaks, people should migrate to bridge anwyay
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 27 10:37:08 CEST 2013 - mhrusecky@suse.cz
|
Mon May 27 10:37:08 CEST 2013 - mhrusecky@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package bridge-utils
|
# spec file for package bridge-utils
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,18 +17,18 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: bridge-utils
|
Name: bridge-utils
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: libsysfs
|
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.linux-foundation.org/en/Net:Bridge
|
|
||||||
Summary: Utilities for Configuring the Linux Ethernet Bridge
|
Summary: Utilities for Configuring the Linux Ethernet Bridge
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Networking/Routing
|
Group: Productivity/Networking/Routing
|
||||||
|
Url: http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
|
||||||
Source: http://downloads.sourceforge.net/project/bridge/bridge/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/project/bridge/bridge/%{name}-%{version}.tar.gz
|
||||||
Patch: %{name}-%{version}-hz.diff
|
Patch0: %{name}-%{version}-hz.diff
|
||||||
Patch1: %{name}-%{version}-optflags.patch
|
Patch1: %{name}-%{version}-optflags.patch
|
||||||
Patch2: bridge-utils-1.5-ip6.patch
|
Patch2: bridge-utils-1.5-ip6.patch
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libsysfs
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,7 +48,7 @@ The %{name} devel package contains files needed for development.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
|
||||||
@ -58,22 +58,16 @@ autoreconf -fiv
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/sbin
|
install -d -m 755 %{buildroot}/sbin
|
||||||
#UsrMerge
|
|
||||||
ln -sf %{_sbindir}/brctl $RPM_BUILD_ROOT/sbin
|
|
||||||
#EndUsrMerge
|
|
||||||
install -D -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}/libbridge.h
|
install -D -m 644 libbridge/libbridge.h %{buildroot}%{_includedir}/libbridge.h
|
||||||
install -D -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}/libbridge.a
|
install -D -m 644 libbridge/libbridge.a %{buildroot}%{_libdir}/libbridge.a
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog README THANKS TODO doc/[FHPRSW]*
|
%doc AUTHORS COPYING ChangeLog README THANKS TODO doc/[FHPRSW]*
|
||||||
%doc %{_mandir}/man?/*
|
%{_mandir}/man?/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
#UsrMerge
|
|
||||||
/sbin/*
|
|
||||||
#EndUsrMerge
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user