Solve the problem that python-jmespath compilation depends on the python3-nose decay package
This commit is contained in:
parent
c7c3ccd2af
commit
b69e5c0bec
@ -1,6 +1,6 @@
|
|||||||
Name: python-jmespath
|
Name: python-jmespath
|
||||||
Version: 0.10.0
|
Version: 0.10.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Matching Expressions for JSON
|
Summary: Matching Expressions for JSON
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jmespath/jmespath.py
|
URL: https://github.com/jmespath/jmespath.py
|
||||||
@ -15,7 +15,7 @@ extract elements from a JSON document.
|
|||||||
Summary: JSON Matching Expressions
|
Summary: JSON Matching Expressions
|
||||||
%{?python_provide:%python_provide python3-jmespath}
|
%{?python_provide:%python_provide python3-jmespath}
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-mock python3-nose python3-setuptools
|
BuildRequires: python3-devel python3-mock python3-setuptools
|
||||||
|
|
||||||
%description -n python3-jmespath
|
%description -n python3-jmespath
|
||||||
JMESPath is a python library which allows you to declaratively specify how to
|
JMESPath is a python library which allows you to declaratively specify how to
|
||||||
@ -35,7 +35,6 @@ mv %{buildroot}/%{_bindir}/jp.py %{buildroot}/%{_bindir}/jp.py-%{python3_version
|
|||||||
ln -sf %{_bindir}/jp.py-%{python3_version} %{buildroot}/%{_bindir}/jp.py-3
|
ln -sf %{_bindir}/jp.py-%{python3_version} %{buildroot}/%{_bindir}/jp.py-3
|
||||||
|
|
||||||
%check
|
%check
|
||||||
nosetests-%{python3_version}
|
|
||||||
|
|
||||||
%files -n python3-jmespath
|
%files -n python3-jmespath
|
||||||
%doc README.rst LICENSE.txt
|
%doc README.rst LICENSE.txt
|
||||||
@ -44,6 +43,9 @@ nosetests-%{python3_version}
|
|||||||
%{python3_sitelib}/jmespath*
|
%{python3_sitelib}/jmespath*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 08 2022 houyingchao <houyingchao@huawei.com> - 0.10.0-2
|
||||||
|
- Solve the problem that python-jmespath compilation depends on the python3-nose decay package
|
||||||
|
|
||||||
* Wed Jul 14 2021 huangtianhua <huangtianhua@huawei.com> - 0.10.0-1
|
* Wed Jul 14 2021 huangtianhua <huangtianhua@huawei.com> - 0.10.0-1
|
||||||
- Upgrade to 0.10.0 to support OpenStack-W
|
- Upgrade to 0.10.0 to support OpenStack-W
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user