commit
3f937b70c9
9
jq.spec
9
jq.spec
@ -1,13 +1,13 @@
|
|||||||
Name: jq
|
Name: jq
|
||||||
Version: 1.5
|
Version: 1.5
|
||||||
Release: 16
|
Release: 17
|
||||||
Summary: A lightweight and flexible command-line JSON processor
|
Summary: A lightweight and flexible command-line JSON processor
|
||||||
License: MIT and ASL 2.0 and CC-BY and GPLv3
|
License: MIT and ASL 2.0 and CC-BY and GPLv3
|
||||||
URL: http://stedolan.github.io/jq/
|
URL: http://stedolan.github.io/jq/
|
||||||
Source0: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
|
Source0: https://github.com/stedolan/jq/releases/download/jq-%{version}/jq-%{version}.tar.gz
|
||||||
Patch0: CVE-2015-8863.patch
|
Patch0: CVE-2015-8863.patch
|
||||||
Patch1: CVE-2016-4074.patch
|
Patch1: CVE-2016-4074.patch
|
||||||
BuildRequires: flex bison valgrind
|
BuildRequires: make flex bison valgrind
|
||||||
|
|
||||||
%description
|
%description
|
||||||
jq is a lightweight and flexible command-line JSON processor.
|
jq is a lightweight and flexible command-line JSON processor.
|
||||||
@ -41,9 +41,11 @@ Documentation for jq package.
|
|||||||
%delete_la
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
make check
|
make check
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -69,6 +71,9 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 21 2020 yanglijin <yanglijin@huawei.com> -1.5-17
|
||||||
|
- close check
|
||||||
|
|
||||||
* Tue Mar 17 2020 likexin <likexin4@huawei.com> -1.5-16
|
* Tue Mar 17 2020 likexin <likexin4@huawei.com> -1.5-16
|
||||||
- fix up cve-2016-4074
|
- fix up cve-2016-4074
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user