!1 Package init

From: @wk333 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2024-02-20 01:12:54 +00:00 committed by Gitee
commit f668616c2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 41 additions and 0 deletions

41
python-tzdata.spec Normal file
View File

@ -0,0 +1,41 @@
%global pypi_name tzdata
Name: python-tzdata
Version: 2024.1
Release: 1
License: MIT
Summary: Provider of IANA time zone data
URL: https://github.com/python/tzdata
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pip python3-wheel
%description
Python package providing IANA time zone data.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Provider of IANA time zone data.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/*
%changelog
* Mon Feb 19 2024 wangkai <13474090681@163.com> - 2024.1-1
- Package init

BIN
tzdata-2024.1.tar.gz Normal file

Binary file not shown.