Package init

This commit is contained in:
wk333 2024-02-19 16:43:16 +08:00
parent b6a640d067
commit e295bbe4d4
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.