!6 [sync] PR-2: fix install require

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-08-18 09:30:17 +00:00 committed by Gitee
commit 873cf88086
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,15 +1,13 @@
%global _empty_manifest_terminate_build 0
Name: python-xmod
Version: 1.3.0
Release: 1
Release: 2
Summary: Create and recursively fill a temporary directory
License: MIT
URL: https://github.com/rec/xmod
Source0: https://files.pythonhosted.org/packages/d4/82/dc632960c98f96e240565717227e2c9c71df44f2aec4c2b41770ce99a105/xmod-1.3.0.tar.gz
BuildArch: noarch
Requires: python3-dek
%description
``xmod`` is a tiny library that extends a module to do things that normally
only a class could do - handy for modules that "just do one thing".
@ -32,6 +30,8 @@ only a class could do - handy for modules that "just do one thing".
%prep
%autosetup -n xmod-1.3.0
sed -i '/dek/d' requirements.txt
sed -i '/dek/d' xmod.egg-info/requires.txt
%build
%py3_build
@ -71,5 +71,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Mar 1 2022 zhangy <zhangy1317@foxmai.com>
- Fix install require
* Thu Dec 31 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated