!6 Upgrade to latest release [python-pendulum -> 2.1.2]
From: @lingjuer Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
06e8131a26
Binary file not shown.
BIN
pendulum-2.1.2.tar.gz
Normal file
BIN
pendulum-2.1.2.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-pendulum
|
||||
Version: 2.0.5
|
||||
Version: 2.1.2
|
||||
Release: 1
|
||||
Summary: Python datetimes made easy
|
||||
License: MIT
|
||||
URL: https://pendulum.eustace.io
|
||||
Source0: https://files.pythonhosted.org/packages/e0/f9/ea90c2c8f0d9b6a733f6231fac6d07476b68271bcf02bab0053888ea0fb3/pendulum-2.0.5.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/db/15/6e89ae7cde7907118769ed3d2481566d05b5fd362724025198bb95faf599/pendulum-2.1.2.tar.gz
|
||||
%description
|
||||
Python datetimes made easy.
|
||||
|
||||
@ -18,6 +18,7 @@ BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-poetry-core
|
||||
# General requires
|
||||
BuildRequires: python3-dateutil
|
||||
BuildRequires: python3-pytzdata
|
||||
@ -38,10 +39,10 @@ Python datetimes made easy.
|
||||
%autosetup -n pendulum-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -71,11 +72,15 @@ mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-pendulum -f filelist.lst
|
||||
%dir %{python3_sitearch}/*
|
||||
%{python3_sitearch}/pendulum/*
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 03 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 2.1.2-1
|
||||
- Update package to version 2.1.2
|
||||
|
||||
* Fri Jul 22 2022 OpenStack_SIG <openstack@openeuler.org> - 2.0.5-1
|
||||
- Init package python3-pendulum of version 2.0.5
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user