From 89a52132260d23a412cd73289d9eb04f968cd339 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Sep 2025 10:16:31 +0000 Subject: automatic import of python-tzdata --- .gitignore | 1 + python-tzdata.spec | 41 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 43 insertions(+) create mode 100644 python-tzdata.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7f8c85b 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/tzdata-2024.1.tar.gz diff --git a/python-tzdata.spec b/python-tzdata.spec new file mode 100644 index 0000000..79191bc --- /dev/null +++ b/python-tzdata.spec @@ -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 diff --git a/sources b/sources new file mode 100644 index 0000000..b83d71c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6ffd87c74f67524f8e58ae32868c1a95 tzdata-2024.1.tar.gz -- cgit v1.2.3