Remove wget check

This commit is contained in:
lingsheng 2021-03-22 19:27:25 +08:00
parent 63e87d31f9
commit 79eda9ad5c

View File

@ -4,7 +4,7 @@
Name: libguestfs Name: libguestfs
Version: 1.40.2 Version: 1.40.2
Release: 13 Release: 14
Epoch: 1 Epoch: 1
Summary: A set of tools for accessing and modifying virtual machine (VM) disk images Summary: A set of tools for accessing and modifying virtual machine (VM) disk images
License: LGPLv2+ License: LGPLv2+
@ -194,7 +194,7 @@ sed -i 's/FEDORA | RHEL | CENTOS)/FEDORA | RHEL | CENTOS | OPENEULER | GENERIC)/
%build %build
ip addr list ||: ip addr list ||:
ip route list ||: ip route list ||:
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then if ping -c 3 -w 20 8.8.8.8; then
extra= extra=
else else
mkdir cachedir repo mkdir cachedir repo
@ -364,6 +364,9 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/
%exclude %{_mandir}/man1/virt-tar.1* %exclude %{_mandir}/man1/virt-tar.1*
%changelog %changelog
* Mon Mar 22 2021 lingsheng <lingsheng@huawei.com> - 1:1.40.2-14
- Remove wget check
* Mon Mar 01 2021 maminjie <maminjie1@huawei.com> - 1:1.40.2-13 * Mon Mar 01 2021 maminjie <maminjie1@huawei.com> - 1:1.40.2-13
- Fix php 8.0.0 warning about missing arginfo - Fix php 8.0.0 warning about missing arginfo