2024-01-05 16:49:25 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2-)
|
|
|
|
Name: python-tzdata
|
2024-01-05 16:49:25 +01:00
|
|
|
Version: 2022.5
|
2024-01-05 16:49:25 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Provider of IANA time zone data
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/python/tzdata
|
|
|
|
Source: https://pypi.debian.net/tzdata/tzdata-%{version}.tar.gz
|
|
|
|
License: Apache License 2.0
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: python-build-py3
|
|
|
|
BuildRequires: python-python_install-py3
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n tzdata-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} -m venv --system-site-packages test-env
|
|
|
|
%{__python} -m install --optimize=1 --destdir="%{buildroot}" dist/*.whl
|
|
|
|
|
|
|
|
%files %{?pyappend}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:49:25 +01:00
|
|
|
* Sat Oct 15 2022 Automatic Build System <autodist@mambasoft.it> 2022.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:25 +01:00
|
|
|
* Tue Sep 27 2022 Automatic Build System <autodist@mambasoft.it> 2022.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:25 +01:00
|
|
|
* Sun Aug 14 2022 Automatic Build System <autodist@mambasoft.it> 2022.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:25 +01:00
|
|
|
* Fri Mar 18 2022 Automatic Build System <autodist@mambasoft.it> 2022.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:25 +01:00
|
|
|
* Tue Jan 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.5-1mamba
|
|
|
|
- package created using the webbuild interface
|