update ipcalc to 1.0.0
This commit is contained in:
parent
aba506a26e
commit
8bf5cd068b
Binary file not shown.
BIN
ipcalc-1.0.0.tar.gz
Normal file
BIN
ipcalc-1.0.0.tar.gz
Normal file
Binary file not shown.
12
ipcalc.spec
12
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 <xihaochen@huawei.com> - 1.0.0-1
|
||||
- Type:requirements
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: update ipcalc to 1.0.0
|
||||
|
||||
* Sat Jul 25 2020 hanzhijun<hanzhijun1@huawei.com> - 0.4.1-1
|
||||
- update 0.4.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user