!5 Update package to version 3.1.15

From: @lingjuer 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2023-07-05 01:43:57 +00:00 committed by Gitee
commit b26f56b097
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 10 additions and 5 deletions

Binary file not shown.

BIN
aenum-3.1.15.tar.gz Normal file

Binary file not shown.

View File

@ -1,15 +1,14 @@
%global _empty_manifest_terminate_build 0
Name: python-aenum
Version: 3.1.11
Version: 3.1.15
Release: 1
Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
License: BSD License
URL: https://bitbucket.org/stoneleaf/aenum
Source0: https://github.com/ethanfurman/aenum/archive/refs/tags/3.1.11.tar.gz
Patch0: 0001-fix-syntax-error.patch
Source0: https://files.pythonhosted.org/packages/d0/f8/33e75863394f42e429bb553e05fda7c59763f0fd6848de847a25b3fbccf6/aenum-3.1.15.tar.gz
Patch0: 0001-fix-syntax-error.patch
BuildArch: noarch
%description
Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
@ -17,7 +16,7 @@ aenum includes a Python stdlib Enum-compatible data type, as well as a metaclass
%package -n python3-aenum
Summary: Advanced Enumerations (compatible with Python's stdlib Enum), NamedTuples, and NamedConstants
Provides: python-aenum
Provides: python-aenum = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description -n python3-aenum
@ -42,6 +41,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -70,6 +72,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Tue Jul 04 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 3.1.15-1
- Update package to version 3.1.15
* Thu Apr 06 2023 Ge Wang <wangge20@h-partners.com> - 3.1.11-1
- Update to version 3.1.11