Open
Fix license and enable upstream tests #12
Fix license and enable upstream tests #12
Open
iBaka9Add on Oct 10
Total: 1 files changed+11-3
@@ -2,8 +2,8 @@
2 2 
3Name: python-tzdata3Name: python-tzdata
4Version: 2026.54Version: 2026.5
5-Release: 15+Release: 2
6-License: MIT6+License: Apache-2.0
7Summary: Provider of IANA time zone data7Summary: Provider of IANA time zone data
8URL: https://github.com/python/tzdata8URL: https://github.com/python/tzdata
9Source0: https://files.pythonhosted.org/packages/d9/68/f1b440335057bfce71b6e50a9d09445aa2ecbd08359a337976627b8409e7/tzdata-2026.5.tar.gz9Source0: https://files.pythonhosted.org/packages/d9/68/f1b440335057bfce71b6e50a9d09445aa2ecbd08359a337976627b8409e7/tzdata-2026.5.tar.gz
@@ -11,6 +11,7 @@ BuildArch: noarch
11 11 
12BuildRequires: python3-devel12BuildRequires: python3-devel
13BuildRequires: python3-pip python3-wheel13BuildRequires: python3-pip python3-wheel
14+BuildRequires: python3-pytest python3-pytest-subtests
14 15 
15%description16%description
16Python package providing IANA time zone data.17Python package providing IANA time zone data.
@@ -30,13 +31,20 @@ Provider of IANA time zone data.
30%install31%install
31%pyproject_install32%pyproject_install
32 33 
34+%check
35+PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v tests
36+ 
33%files -n python3-%{pypi_name}37%files -n python3-%{pypi_name}
34-%license LICENSE38+%license LICENSE licenses/LICENSE_APACHE
35%doc README.rst39%doc README.rst
36%{python3_sitelib}/*40%{python3_sitelib}/*
37 41 
38 42 
39%changelog43%changelog
44+* Thu Oct 15 2026 iBaka9 <bakazh@outlook.com> - 2026.5-2
45+- Correct the license to Apache-2.0 and include the full license text.
46+- Run upstream tests during the package build.
47+ 
40* Thu Oct 15 2026 dev01212 <dev01212@linx-info.com> - 2026.5-148* Thu Oct 15 2026 dev01212 <dev01212@linx-info.com> - 2026.5-1
41- Update to 2026.549- Update to 2026.5
42 50