!9 修复测试中不可达的链接

From: @laokz 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-04-03 01:36:53 +00:00 committed by Gitee
commit f1d4e69b89
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: linkchecker
Version: 10.4.0
Release: 1
Release: 2
Summary: Check HTML documents for broken links
License: GPLv2
URL: https://linkcheck.github.io/linkchecker/
@ -46,6 +46,9 @@ support
%find_lang linkchecker
%check
# fix unreachable url
sed -i 's/google.com/bing.com/g' tests/test_robotparser.py
export PYTHONPATH=%{buildroot}%{python3_sitearch}
pytest --ignore=tests/checker/test_telnet.py
@ -62,6 +65,9 @@ pytest --ignore=tests/checker/test_telnet.py
%{_datadir}/linkchecker/
%changelog
* Mon Apr 1 2024 laokz <zhangkai@iscas.ac.cn> - 10.4.0-2
- Fix unreachable url in test
* Mon Feb 26 2024 liyanan <liyanan61@h-partners.com> - 10.4.0-1
- Upgrade to 10.4.0