remove Python3-contextlib2
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
b3f719c019
commit
912f487d80
@ -1,15 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-schema
|
Name: python-schema
|
||||||
Version: 0.7.5
|
Version: 0.7.5
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Simple data validation library
|
Summary: Simple data validation library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/keleshev/schema
|
URL: https://github.com/keleshev/schema
|
||||||
Source0: https://github.com/keleshev/schema/archive/refs/tags/v0.7.5.tar.gz
|
Source0: https://github.com/keleshev/schema/archive/refs/tags/v0.7.5.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-contextlib2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
**schema** is a library for validating Python data structures, such as those
|
**schema** is a library for validating Python data structures, such as those
|
||||||
obtained from config-files, forms, external services or command-line
|
obtained from config-files, forms, external services or command-line
|
||||||
@ -35,6 +33,7 @@ parsing, converted from JSON/YAML (or something else) to Python data-types.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n schema-0.7.5
|
%autosetup -n schema-0.7.5
|
||||||
|
sed -i -e /contextlib2/d requirements.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -74,6 +73,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 31 2023 xu_ping <707078654@qq.com> - 0.7.5-2
|
||||||
|
- Remove requires python3-contextlib because want to use standard Python contextlib
|
||||||
|
|
||||||
* Thu Jun 23 2022 houyingchao <houyingchao@h-partners.com> - 0.7.5-1
|
* Thu Jun 23 2022 houyingchao <houyingchao@h-partners.com> - 0.7.5-1
|
||||||
- Upgrade to version 0.7.5
|
- Upgrade to version 0.7.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user