Accepting request 791565 from network

OBS-URL: https://build.opensuse.org/request/show/791565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/frr?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-04-07 08:28:42 +00:00 committed by Git OBS Bridge
commit 894e22a8e5
5 changed files with 36 additions and 40 deletions

View File

@ -1,29 +0,0 @@
--- tests/topotests/lib/topotest.py-orig 2019-12-10 23:17:14.241938136 -0300
+++ tests/topotests/lib/topotest.py 2019-12-10 23:17:27.978005193 -0300
@@ -29,7 +29,10 @@
import sys
import functools
import glob
-import StringIO
+try:
+ from StringIO import StringIO
+except ImportError:
+ from io import StringIO
import subprocess
import tempfile
import platform
--- tests/topotests/lib/common_config.py-orig 2019-12-10 23:17:59.526550785 -0300
+++ tests/topotests/lib/common_config.py 2019-12-10 23:18:23.139134928 -0300
@@ -28,7 +28,11 @@
from functools import wraps
from re import search as re_search
-import StringIO
+try:
+ from StringIO import StringIO
+except ImportError:
+ from io import StringIO
+
import os
import ConfigParser
import traceback

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40fea6ff007453e27761a0372cde51fd8279f89984dff009092eebe2a7b29be3
size 5639773

3
frr-7.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c209ed66a0331221649b8c21dc8c6704ce1696e2017ef4d48f8c2ac6b1fa01b7
size 5782842

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Feb 15 21:27:22 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to version 7.3
* Upstream does not provide a changelog this time
- Remove patch:
* fix_tests.patch (not longer needed)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jan 18 20:25:42 UTC 2020 - Martin Hauke <mardnh@gmx.de> Sat Jan 18 20:25:42 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -16,6 +16,7 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%bcond_with cumulus %bcond_with cumulus
%bcond_with datacenter %bcond_with datacenter
@ -29,16 +30,15 @@
%define frr_daemondir %{_prefix}/lib/frr %define frr_daemondir %{_prefix}/lib/frr
Name: frr Name: frr
Version: 7.2.1 Version: 7.3
Release: 0 Release: 0
Summary: FRRouting Routing daemon Summary: FRRouting Routing daemon
License: GPL-2.0-or-later and LGPL-2.1-or-later License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Networking/System Group: Productivity/Networking/System
URL: https://www.frrouting.org URL: https://www.frrouting.org
#Git-Clone: https://github.com/FRRouting/frr.git #Git-Clone: https://github.com/FRRouting/frr.git
Source: https://github.com/FRRouting/frr/archive/%{name}-%{version}.tar.gz Source: https://github.com/FRRouting/frr/archive/%{name}-%{version}.tar.gz
Source1: %{name}-tmpfiles.d Source1: %{name}-tmpfiles.d
Patch0: fix_tests.patch
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
@ -134,15 +134,24 @@ Group: System/Libraries
This library contains various utility functions to FRRouting, such as This library contains various utility functions to FRRouting, such as
data types, buffers and socket handling. data types, buffers and socket handling.
%package -n libmlag_pb0
Summary: FRRouting utility library
Group: System/Libraries
%description -n libmlag_pb0
This library contains part of the mlag implementation of FRRouting.
%package devel %package devel
Summary: Header and object files for frr development Summary: Header and object files for frr development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libfrr0 = %{version} Requires: libfrr0 = %{version}
Requires: libfrr_pb0 = %{version}
Requires: libfrrcares0 = %{version}
Requires: libfrrfpm_pb0 = %{version}
Requires: libfrrospfapiclient0 = %{version} Requires: libfrrospfapiclient0 = %{version}
Requires: libfrrsnmp0 = %{version} Requires: libfrrsnmp0 = %{version}
Requires: libfrr_pb0 = %{version}
Requires: libfrrfpm_pb0 = %{version}
Requires: libfrrzmq0 = %{version} Requires: libfrrzmq0 = %{version}
Requires: libmlag_pb0 = %{version}
%description devel %description devel
The frr-devel package contains the header and object files necessary for The frr-devel package contains the header and object files necessary for
@ -150,7 +159,6 @@ developing OSPF-API and frr applications.
%prep %prep
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
%patch0
%build %build
# GCC LTO objects must be "fat" to avoid assembly errors # GCC LTO objects must be "fat" to avoid assembly errors
@ -292,6 +300,7 @@ fi
%post -n libfrrospfapiclient0 -p /sbin/ldconfig %post -n libfrrospfapiclient0 -p /sbin/ldconfig
%postun -n libfrrospfapiclient0 -p /sbin/ldconfig %postun -n libfrrospfapiclient0 -p /sbin/ldconfig
%post -n libfrrsnmp0 -p /sbin/ldconfig %post -n libfrrsnmp0 -p /sbin/ldconfig
%postun -n libfrrsnmp0 -p /sbin/ldconfig %postun -n libfrrsnmp0 -p /sbin/ldconfig
@ -300,9 +309,13 @@ fi
%post -n libfrr0 -p /sbin/ldconfig %post -n libfrr0 -p /sbin/ldconfig
%postun -n libfrr0 -p /sbin/ldconfig %postun -n libfrr0 -p /sbin/ldconfig
%post -n libfrrcares0 -p /sbin/ldconfig %post -n libfrrcares0 -p /sbin/ldconfig
%postun -n libfrrcares0 -p /sbin/ldconfig %postun -n libfrrcares0 -p /sbin/ldconfig
%post -n libmlag_pb0 -p /sbin/ldconfig
%postun -n libmlag_pb0 -p /sbin/ldconfig
%files %files
%license COPYING COPYING-LGPLv2.1 %license COPYING COPYING-LGPLv2.1
%doc README.md %doc README.md
@ -354,10 +367,12 @@ fi
%{frr_daemondir}/zebra %{frr_daemondir}/zebra
%dir %{_libdir}/frr %dir %{_libdir}/frr
%dir %{_libdir}/frr/modules %dir %{_libdir}/frr/modules
%{_libdir}/frr/modules/zebra_cumulus_mlag.so
%{_libdir}/frr/modules/zebra_fpm.so %{_libdir}/frr/modules/zebra_fpm.so
%{_libdir}/frr/modules/zebra_irdp.so %{_libdir}/frr/modules/zebra_irdp.so
%{_libdir}/frr/modules/bgpd_rpki.so %{_libdir}/frr/modules/bgpd_rpki.so
%{_prefix}/lib/frr/vrrpd %{_prefix}/lib/frr/vrrpd
%{_prefix}/lib/frr/generate_support_bundle.py
%{_libdir}/frr/modules/bgpd_bmp.so %{_libdir}/frr/modules/bgpd_bmp.so
%files -n libfrr_pb0 %files -n libfrr_pb0
@ -380,8 +395,10 @@ fi
%{_libdir}/libfrr.so.0* %{_libdir}/libfrr.so.0*
%files -n libfrrcares0 %files -n libfrrcares0
%{_libdir}/libfrrcares.so.0 %{_libdir}/libfrrcares.so.0*
%{_libdir}/libfrrcares.so.0.0.0
%files -n libmlag_pb0
%{_libdir}/libmlag_pb.so.0*
%files devel %files devel
%dir %{_includedir}/%{name} %dir %{_includedir}/%{name}