!2 sync package to 21.09 from master

From: @orange-snn
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2021-09-01 02:05:56 +00:00 committed by Gitee
commit f282aacc45
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,39 @@
%define debug_package %{nil}
%define pypi_name strict-rfc3339
Name: python-strict-rfc3339
Version: 0.7
Release: 1
Summary: Strict, simple, lightweight RFC3339 functions
License: GPLv3
URL: https://github.com/danielrichman/strict-rfc3339
Source0: https://files.pythonhosted.org/packages/56/e4/879ef1dbd6ddea1c77c0078cd59b503368b0456bcca7d063a870ca2119d3/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools
%description
Strict, simple, lightweight RFC3339 functions.
%package -n python3-%{pypi_name}
Summary: python3 package for strict-rfc3339
%description -n python3-%{pypi_name}
python3 package for strict-rfc3339
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%{python3_sitelib}/*
%changelog
* Thu Aug 26 2021 orange-snn<songnannan2@huawei.com> - 0.7-1
- Package init

View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: strict-rfc3339
tag_prefix: "^v"
separator: "."

BIN
strict-rfc3339-0.7.tar.gz Normal file

Binary file not shown.