!7 upgrade to 4.1.1

From: @caodongxia 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-04-27 03:23:14 +00:00 committed by Gitee
commit dacf30bb0f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 14 additions and 7 deletions

Binary file not shown.

BIN
flufl.i18n-4.1.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-flufl.i18n
Version: 3.1.3
Release: 2
Version: 4.1.1
Release: 1
Summary: High level API for internationalizing Python libraries and applications.
License: Apache 2.0
URL: https://pypi.org/project/flufl.i18n
Source0: https://files.pythonhosted.org/packages/2f/ed/291230106c59e1270042b0161c2f84f6c3ddb3b9b02686a52d4ebf38e098/flufl.i18n-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/82/0f/757b6bdedaa7f29a52b37a4e59451eced726a1338ccf5b63b44fb0808193/flufl.i18n-%{version}.tar.gz
BuildArch: noarch
%description
@ -18,6 +18,9 @@ Summary: High level API for internationalizing Python libraries and applications
Provides: python-flufl.i18n
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-pdm-pep517
%description -n python3-flufl.i18n
The flufl.i18n library provides a convenient API for managing translation contexts in Python applications.
@ -35,10 +38,10 @@ Development documents and examples for flufl.i18n.
%autosetup -n flufl.i18n-%{version}
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install flufl.i18n==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -67,13 +70,17 @@ mv %{buildroot}/doclist.lst .
%files -n python3-flufl.i18n -f filelist.lst
%dir %{python3_sitelib}/*
%{python3_sitelib}/flufl/i18n
%files help -f doclist.lst
%{_pkgdocdir}
%changelog
* Thu Dec 31 2020 leiju <leiju4@huawei.com>
* Tue Apr 25 2023 caodongxia <caodongxia@h-partners.com> - 4.1.1-1
- Upgrade to 4.1.1
* Thu Dec 31 2020 leiju <leiju4@huawei.com> - 3.1.3-2
- Modify Spec and yaml filename
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org>
* Thu Dec 17 2020 Python_Bot <Python_Bot@openeuler.org> - 3.1.3-1
- Package Spec generated