Package init
This commit is contained in:
parent
b6a640d067
commit
e295bbe4d4
41
python-tzdata.spec
Normal file
41
python-tzdata.spec
Normal 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
BIN
tzdata-2024.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user