remove Python3-contextlib2

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2023-07-31 11:01:41 +08:00
parent b3f719c019
commit 912f487d80

View File

@ -1,15 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-schema
Version: 0.7.5
Release: 1
Release: 2
Summary: Simple data validation library
License: MIT
URL: https://github.com/keleshev/schema
Source0: https://github.com/keleshev/schema/archive/refs/tags/v0.7.5.tar.gz
BuildArch: noarch
Requires: python3-contextlib2
%description
**schema** is a library for validating Python data structures, such as those
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
%autosetup -n schema-0.7.5
sed -i -e /contextlib2/d requirements.txt
%build
%py3_build
@ -74,6 +73,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%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
- Upgrade to version 0.7.5