!18 Update package to version 4.9.0

From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2023-12-08 09:13:14 +00:00 committed by Gitee
commit 7f5074c0c0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 7 additions and 4 deletions

Binary file not shown.

BIN
humanize-4.9.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-humanize Name: python-humanize
Version: 4.6.0 Version: 4.9.0
Release: 1 Release: 1
Summary: Python humanize utilities Summary: Python humanize utilities
License: MIT License: MIT
URL: https://github.com/python-humanize/humanize URL: https://github.com/python-humanize/humanize
Source0: https://files.pythonhosted.org/packages/06/b1/9e491df2ee1c919d67ee328d8bc9f17b7a9af68e4077f3f5fac83a4488c9/humanize-4.6.0.tar.gz Source0: https://files.pythonhosted.org/packages/76/21/7a0b24fae849562397efd79da58e62437243ae0fd0f6c09c6bc26225b75c/humanize-4.9.0.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-importlib-metadata Requires: python3-importlib-metadata
@ -15,7 +15,7 @@ Python module that includes various common humanization utilities.
%package -n python3-humanize %package -n python3-humanize
Summary: Python humanize utilities Summary: Python humanize utilities
Provides: python-humanize = 4.4.0 Provides: python-humanize = %{version}-%{release}
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-freezegun BuildRequires: python3-freezegun
BuildRequires: python3-pytest BuildRequires: python3-pytest
@ -40,7 +40,7 @@ Python module that includes various common humanization utilities.
%pyproject_build %pyproject_build
%install %install
%pyproject_install humanize==%{version} %pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -61,6 +61,9 @@ popd
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Dec 08 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 4.9.0-1
- Update package to version 4.9.0
* Mon Apr 24 2023 Ge Wang <wang__ge@126.com> - 4.6.0-1 * Mon Apr 24 2023 Ge Wang <wang__ge@126.com> - 4.6.0-1
- Update to version 4.6.0 - Update to version 4.6.0