Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ipcalc for openSUSE:Factory checked in at 2021-05-10 15:38:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ipcalc (Old) and /work/SRC/openSUSE:Factory/.ipcalc.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ipcalc" Mon May 10 15:38:52 2021 rev:5 rq:891857 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ipcalc/ipcalc.changes 2015-08-05 19:14:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ipcalc.new.2988/ipcalc.changes 2021-05-10 15:41:26.569071515 +0200 @@ -1,0 +2,15 @@ +Sat Apr 3 20:54:10 UTC 2021 - Atri Bhattacharya <[email protected]> + +- Update to version 1.0.0: + * Manpage was converted to markdown. +- Switch to using meson for building; BuildRequires: meson >= + 0.49. +- Addtional BuildRequires now needed: pkgconfig(libmaxminddb), + rubygem(ronn). +- Add ipcalc-disable-network-tests.patch: Disable tests requiring + network. +- Run tests as part of %check section. +- New upstream URL and Source URL. +- Drop patch patch-queue: no longer needed. + +------------------------------------------------------------------- Old: ---- ipcalc-0.41.tar.gz patch-queue New: ---- ipcalc-1.0.0.tar.bz2 ipcalc-disable-network-tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ipcalc.spec ++++++ --- /var/tmp/diff_new_pack.O9UJe5/_old 2021-05-10 15:41:26.993069857 +0200 +++ /var/tmp/diff_new_pack.O9UJe5/_new 2021-05-10 15:41:26.993069857 +0200 @@ -1,7 +1,7 @@ # # spec file for package ipcalc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,44 +12,52 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ipcalc -Version: 0.41 +Version: 1.0.0 Release: 0 -Summary: IPv4 Address Calculator -License: GPL-2.0+ +Summary: IPv4/IPv6 tool assisting in network calculations on the command line +License: GPL-2.0-or-later Group: Productivity/Networking/System -Url: http://jodies.de/ipcalc -Source0: http://jodies.de/ipcalc-archive/ipcalc-%{version}.tar.gz -Patch1: http://jodies.de/ipcalc-archive/patch-queue -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +URL: https://gitlab.com/ipcalc/ipcalc +Source0: https://gitlab.com/ipcalc/ipcalc/-/archive/%{version}/%{name}-%{version}.tar.bz2 +# PATCH-FEATURE-OPENSUSE ipcalc-disable-network-tests.patch [email protected] -- Disable tests requiring network +Patch0: ipcalc-disable-network-tests.patch +BuildRequires: meson >= 0.49 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libmaxminddb) +BuildRequires: rubygem(ronn) +Conflicts: netcalc %description -ipcalc takes an IP address and netmask and calculates the resulting -broadcast, network, Cisco wildcard mask, and host range. By giving a -second netmask, you can design subnets and supernets. It is also -presents the subnetting results as easy-to-understand binary values. - -Enter your netmask(s) in CIDR notation (/25) or dotted decimals -(255.255.255.0). Inverse netmasks are recognized. If you omit the -netmask ipcalc uses the default netmask for the class of your network. +ipcalc is a modern tool to assist in network address calculations for IPv4 and +IPv6. It acts both as a tool to output human readable information about a +network or address, as well as a tool suitable to be used by scripts or other +programs. It supports printing a summary about the provided network address, +multiple command line options per information to be printed, transparent IPv6 +support, and in addition it will use libGeoIP if available to provide +geographic information. %prep -%setup -q -%patch1 +%autosetup -p1 %build +%meson +%meson_build %install -install -D -m 0755 ipcalc "%{buildroot}%{_bindir}/ipcalc" +%meson_install + +%check +%meson_test %files -%defattr(-,root,root) -%doc license changelog contributors +%doc README.md NEWS +%license COPYING %{_bindir}/ipcalc +%{_mandir}/man1/ipcalc.1%{?ext_man} %changelog ++++++ ipcalc-disable-network-tests.patch ++++++ Index: ipcalc-1.0.0/tests/meson.build =================================================================== --- ipcalc-1.0.0.orig/tests/meson.build +++ ipcalc-1.0.0/tests/meson.build @@ -64,14 +64,6 @@ test('RandomIPv6Explicit', ipcalc.full_path() + ' -6 -r 24' + '|grep Address' ] ) -test('HostnameIPv6Localhost', - testrunner, - args : [ - '--test-outfile', - ipcalc.full_path() + ' -6 -o localhost', - files('hostname-localhost-ipv6') - ] -) test('HostnameIPv4Localhost', testrunner, args : [ @@ -88,30 +80,6 @@ test('HostnameIPv4LocalhostJson', files('hostname-localhost-ipv4-json') ] ) -test('IPIPv6Localhost', - testrunner, - args : [ - '--test-outfile', - ipcalc.full_path() + ' -h ::1', - files('ip-localhost-ipv6') - ] -) -test('IPIPv4Localhost', - testrunner, - args : [ - '--test-outfile', - ipcalc.full_path() + ' -h 127.0.0.1', - files('ip-localhost-ipv4') - ] -) -test('IPIPv4LocalhostJson', - testrunner, - args : [ - '--test-outfile', - ipcalc.full_path() + ' -j -h 127.0.0.1', - files('ip-localhost-ipv4-json') - ] -) # --class-prefix tests test('AssignClassPrefix12', testrunner,
