!11 添加编译依赖gmock 和增加 uriparser.yaml

From: @wk333 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-04-14 12:30:59 +00:00 committed by Gitee
commit 0cb47cee18
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 9 additions and 2 deletions

View File

@ -1,11 +1,11 @@
Name: uriparser
Version: 0.9.6
Release: 1
Release: 2
Summary: A strictly RFC 3986 compliant URI parsing and handling library written in C89
License: BSD
URL: https://uriparser.github.io/
Source0: https://github.com/uriparser/uriparser/releases/download/uriparser-%{version}/uriparser-%{version}.tar.bz2
BuildRequires: cmake doxygen gcc-c++ graphviz gtest-devel make
BuildRequires: cmake doxygen gcc-c++ graphviz gtest-devel make gmock
%description
The package is a strictly RFC 3986 compliant URI parsing library written in C89("ANSI C").
@ -59,6 +59,9 @@ LD_LIBRARY_PATH=".libs" make check
%doc %{_docdir}/uriparser/html
%changelog
* Thu Apr 14 2022 wangkai <wangkai385@h-partners.com> - 0.9.6-2
- Add BuildRequires to fix build error and add uriparser.yaml
* Tue Jan 25 2022 wangkai <wangkai385@huawei.com> - 0.9.6-1
- Update to 0.9.6 for fix CVE-2021-46141 and CVE-2021-46142

4
uriparser.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: uriparser/uriparser
tag_prefix: "^uriparser-"
seperator: "."