diff --git a/ipcalc-0.4.1.tar.gz b/ipcalc-0.4.1.tar.gz deleted file mode 100644 index e427a56..0000000 Binary files a/ipcalc-0.4.1.tar.gz and /dev/null differ diff --git a/ipcalc-1.0.0.tar.gz b/ipcalc-1.0.0.tar.gz new file mode 100644 index 0000000..3c7f69f Binary files /dev/null and b/ipcalc-1.0.0.tar.gz differ diff --git a/ipcalc.spec b/ipcalc.spec index 4c71b97..ce42a22 100644 --- a/ipcalc.spec +++ b/ipcalc.spec @@ -1,13 +1,12 @@ Name: ipcalc -Version: 0.4.1 +Version: 1.0.0 Release: 1 Summary: IP network address calculator License: GPLv2+ URL: https://gitlab.com/ipcalc/%{name} Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz - -BuildRequires: gcc libmaxminddb-devel meson +BuildRequires: gcc libmaxminddb-devel meson rubygem-ronn-ng %description ipcalc provides a simple way to calculate IP information for a host. @@ -30,6 +29,7 @@ be specified. Most operations also require a netmask or a CIDR prefix as well. %check HOSTNAME=`cat /etc/hosts | grep 127.0.0.1 | head -1| awk '{print $2}'` sed -i 's/localhost/'$HOSTNAME'/g' tests/ip-localhost-ipv4 +sed -i 's/localhost/'$HOSTNAME'/g' tests/ip-localhost-ipv4-json %meson_test %files @@ -43,6 +43,12 @@ sed -i 's/localhost/'$HOSTNAME'/g' tests/ip-localhost-ipv4 %{_mandir}/man1/* %changelog +* Thu Jan 28 2021 xihaochen - 1.0.0-1 +- Type:requirements +- ID:NA +- SUG:NA +- DESC: update ipcalc to 1.0.0 + * Sat Jul 25 2020 hanzhijun - 0.4.1-1 - update 0.4.1