Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
901d3b8fe4
!14 update ipcalc to 1.0.3
From: @xinghe_1 
Reviewed-by: @gebidelidaye 
Signed-off-by: @gebidelidaye
2023-07-17 11:44:04 +00:00
xinghe
9445e09660 update ipcalc to 1.0.3 2023-07-17 10:57:20 +00:00
openeuler-ci-bot
176b599974
!12 update ipcalc to 1.0.2
From: @xinghe_1 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2023-01-31 11:50:30 +00:00
xinghe
97d2cb7ae1 update ipcalc to 1.0.2 2023-01-31 06:09:19 +00:00
openeuler-ci-bot
5f549648c6
!7 update description
From: @xinghe_1 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
2022-10-19 07:24:01 +00:00
xinghe
f00fb80301 update description 2022-10-19 06:39:38 +00:00
openeuler-ci-bot
b70721c377
!6 update ipcalc to 1.0.1
From: @yangl777 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
2022-03-30 07:32:36 +00:00
yangl777
40c216a879 update ipcalc to 1.0.1 2022-03-21 11:37:07 +08:00
openeuler-ci-bot
1dd879510b !4 update ipcalc to 1.0.0
From: @haochenstar
Reviewed-by: @zengwefeng
Signed-off-by: @zengwefeng
2021-02-01 09:26:52 +08:00
haochenstar
8bf5cd068b update ipcalc to 1.0.0 2021-01-28 20:12:26 +08:00
3 changed files with 39 additions and 8 deletions

Binary file not shown.

BIN
ipcalc-1.0.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,19 +1,19 @@
Name: ipcalc
Version: 0.4.1
Version: 1.0.3
Release: 1
Summary: IP network address calculator
License: GPLv2+
License: GPL-2.0-or-later
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.
The various options specify what information ipcalc should display on standard out.
Multiple options may be specified. An IP address to operate on must always
be specified. Most operations also require a netmask or a CIDR prefix as well.
ipcalc provides a simple way to calculate IP information for a host
or network. Depending on the options specified, it may be used to provide
IP network information in human readable format, in a format suitable for
parsing in scripts, generate random private addresses, resolve an IP address,
or check the validity of an address.
%package_help
@ -30,6 +30,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 +44,36 @@ sed -i 's/localhost/'$HOSTNAME'/g' tests/ip-localhost-ipv4
%{_mandir}/man1/*
%changelog
* Sat Jul 15 2023 xinghe <xinghe2@h-partners.com> - 1.0.3-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update ipcalc to 1.0.3
* Tue Jan 31 2023 xinghe <xinghe2@h-partners.com> - 1.0.2-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update ipcalc to 1.0.2
* Wed Oct 19 2022 xinghe <xinghe2@h-partners.com> - 1.0.1-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC: update description
* Mon Mar 21 2022 yanglu <yanglu72@h-partners.com> - 1.0.1-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update ipcalc to 1.0.1
* 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