From 15ac62a7c72e4e822fba7d264ab8f55013d23a4f83b3e1ddbbbbca19badaac74 Mon Sep 17 00:00:00 2001 From: andrea florio Date: Mon, 19 Feb 2018 11:37:25 +0000 Subject: [PATCH] Accepting request 577709 from home:avindra - new upstream version 0.2.17 * Set nonblocking I/O for UDP sockets * NM-16ESW: process packets even if MAC address table is full - remove dos2unix, no longer needed - use cmake macros to build OBS-URL: https://build.opensuse.org/request/show/577709 OBS-URL: https://build.opensuse.org/package/show/Education/dynamips?expand=0&rev=47 --- dynamips-0.2.16.tar.gz | 3 --- dynamips-0.2.17.tar.gz | 3 +++ dynamips.changes | 9 +++++++++ dynamips.spec | 41 ++++++++++++++++------------------------- 4 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 dynamips-0.2.16.tar.gz create mode 100644 dynamips-0.2.17.tar.gz diff --git a/dynamips-0.2.16.tar.gz b/dynamips-0.2.16.tar.gz deleted file mode 100644 index 7576d1f..0000000 --- a/dynamips-0.2.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0fcf18d701898a77cb589bd9bad16dde436ac1ccb87516fefe07d09de1a196c0 -size 832173 diff --git a/dynamips-0.2.17.tar.gz b/dynamips-0.2.17.tar.gz new file mode 100644 index 0000000..609d9e0 --- /dev/null +++ b/dynamips-0.2.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d524ef32b78dd7384775920604912d3b4b212ded338cc4df930b0086df1e81ed +size 832721 diff --git a/dynamips.changes b/dynamips.changes index 6f37a0d..839ee0d 100644 --- a/dynamips.changes +++ b/dynamips.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 18 08:54:40 UTC 2018 - avindra@opensuse.org + +- new upstream version 0.2.17 + * Set nonblocking I/O for UDP sockets + * NM-16ESW: process packets even if MAC address table is full +- remove dos2unix, no longer needed +- use cmake macros to build + ------------------------------------------------------------------- Tue Feb 28 15:50:00 UTC 2017 - mpost@suse.com diff --git a/dynamips.spec b/dynamips.spec index b547dbd..c17cbd2 100644 --- a/dynamips.spec +++ b/dynamips.spec @@ -1,7 +1,7 @@ # # spec file for package dynamips # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,23 @@ Name: dynamips -Version: 0.2.16 +Version: 0.2.17 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Summary: Cisco router Emulator +License: GPL-2.0+ +Group: System/Emulators/Other +Url: https://www.gns3.net +Source: https://github.com/GNS3/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch1: define-s390x-arch.patch BuildRequires: cmake -BuildRequires: dos2unix BuildRequires: libelf-devel BuildRequires: libpcap-devel -Url: http://www.gns3.net %ifarch x86_64 %if %{undefined fedora} BuildRequires: glibc-32bit BuildRequires: glibc-devel-32bit %endif %endif -Source: %{name}-%{version}.tar.gz -Patch1: define-s390x-arch.patch - -Summary: Cisco router Emulator -License: GPL-2.0+ -Group: System/Emulators/Other %description Cisco Router Emulator supported by GNS3 Community @@ -52,28 +49,22 @@ or people wanting to pass their CCNA/CCNP/CCIE exams. %patch1 -p1 %build -mkdir build -cd build -CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; -CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; +%cmake \ %ifarch x86_64 -cmake -DYNAMIPS_ARCH=amd64 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .. -%else -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} .. + -DYNAMIPS_ARCH=amd64 \ %endif -%__make %{?_smp_mflags} +.. +%make_jobs %install -cd build -make DESTDIR=%{buildroot} install -cd .. -dos2unix COPYING README.md README.hypervisor TODO +%cmake_install %files -%defattr(-,root,root) %{_bindir}/%{name} %{_bindir}/nvram_export -%{_mandir}/man*/* +%{_mandir}/man1/%{name}.1%{ext_man} +%{_mandir}/man1/nvram_export.1%{ext_man} +%{_mandir}/man7/hypervisor_mode.7%{ext_man} %{_datadir}/doc/%{name} %changelog