Add BuildRequires to fix build error and add uriparser.yaml

This commit is contained in:
wk333 2022-04-14 14:36:40 +08:00
parent 150a2f8c95
commit 2260ed998c
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: "."