!4 Remove requires python3-contextlib
From: @cherry530 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
3bd9ac94b7
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user