!3 Update package

From: @Wangjunqi123 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-11-08 03:25:58 +00:00 committed by Gitee
commit 8930498622
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 18 additions and 4 deletions

9
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,9 @@
--- a/setup.py 1970-01-01 08:00:00.000000000 +0800
+++ b/setup.py 2022-10-19 09:38:57.746598491 +0800
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup()

Binary file not shown.

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

Binary file not shown.

View File

@ -1,11 +1,12 @@
%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-4.1.1.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
%description
@ -15,7 +16,7 @@ sophisticated management of multiple-context applications such as Internet serve
%package -n python3-flufl.i18n
Summary: High level API for internationalizing Python libraries and applications.
Provides: python-flufl.i18n
Provides: python-flufl.i18n = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
@ -33,6 +34,7 @@ Development documents and examples for flufl.i18n.
%prep
%autosetup -n flufl.i18n-%{version}
%patch0
%build
%py3_build
@ -72,6 +74,9 @@ mv %{buildroot}/doclist.lst .
%{_pkgdocdir}
%changelog
* Fri Oct 28 2022 wangjunqi <wangjunqi@kylinos.cn> - 4.1.1-1
- Update package version to 4.1.1
* Thu Dec 31 2020 leiju <leiju4@huawei.com>
- Modify Spec and yaml filename