|
rdobuilder |
f1e7b0 |
Name: python-tzlocal
|
|
rdobuilder |
f1e7b0 |
Version: 4.2
|
|
rdobuilder |
f1e7b0 |
Release: 1%{?dist}
|
|
rdobuilder |
f1e7b0 |
Summary: A Python module that tries to figure out what your local timezone is
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
License: MIT
|
|
rdobuilder |
f1e7b0 |
URL: https://github.com/regebro/tzlocal
|
|
rdobuilder |
f1e7b0 |
# pypi/pythonhosted tarballs don't respect symlinks which are used in the test
|
|
rdobuilder |
f1e7b0 |
Source0: %{url}/archive/%{version}/tzlocal-%{version}.tar.gz
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
BuildArch: noarch
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
BuildRequires: python3-devel
|
|
rdobuilder |
f1e7b0 |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%global common_description %{expand:
|
|
rdobuilder |
f1e7b0 |
This Python module returns a tzinfo object with the local timezone information.
|
|
rdobuilder |
f1e7b0 |
It requires pytz, and returns pytz tzinfo objects. This module attempts to fix
|
|
rdobuilder |
f1e7b0 |
a glaring hole in pytz, that there is no way to get the local timezone
|
|
rdobuilder |
f1e7b0 |
information, unless you know the zoneinfo name.}
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%description %{common_description}
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%package -n python3-tzlocal
|
|
rdobuilder |
f1e7b0 |
Summary: %{summary}
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%description -n python3-tzlocal %{common_description}
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%prep
|
|
rdobuilder |
f1e7b0 |
%autosetup -n tzlocal-%{version}
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%generate_buildrequires
|
|
rdobuilder |
f1e7b0 |
%pyproject_buildrequires -x test
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%build
|
|
rdobuilder |
f1e7b0 |
%pyproject_wheel
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%install
|
|
rdobuilder |
f1e7b0 |
%pyproject_install
|
|
rdobuilder |
f1e7b0 |
%pyproject_save_files tzlocal
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%check
|
|
rdobuilder |
f1e7b0 |
%pytest
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%files -n python3-tzlocal -f %{pyproject_files}
|
|
rdobuilder |
f1e7b0 |
# pyproject_files handles LICENSE.txt; verify with “rpm -qL -p …”
|
|
rdobuilder |
f1e7b0 |
%doc README.rst CHANGES.txt
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
%changelog
|
|
rdobuilder |
f1e7b0 |
* Mon Aug 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.2-1
|
|
rdobuilder |
f1e7b0 |
- Update to 4.2 (close RHBZ#1993583)
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Mon Aug 22 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 2.1-6
|
|
rdobuilder |
f1e7b0 |
- Simplify and update various macros in the spec file
|
|
rdobuilder |
f1e7b0 |
- Change source archive name to match extraction directory
|
|
rdobuilder |
f1e7b0 |
- Exclude test_data with a patch instead of using “rm”
|
|
rdobuilder |
f1e7b0 |
- Remove manual Requires, which is no longer required
|
|
rdobuilder |
f1e7b0 |
- Remove dependency on deprecated python-mock
|
|
rdobuilder |
f1e7b0 |
- Port to pyproject-rpm-macros
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1-4
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
|
|
rdobuilder |
f1e7b0 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
f1e7b0 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Wed Jun 30 2021 Joel Capitao <jcapitao@redhat.com> - 2.1-1
|
|
rdobuilder |
f1e7b0 |
- Update to 2.1
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.0.0-5
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri May 01 2020 Piotr Popieluch <piotr1212@gmail.com> - 2.0.0-1
|
|
rdobuilder |
f1e7b0 |
- Update to 2.0.0
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-10
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-9
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-8
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-7
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sun Dec 16 2018 Piotr Popieluch <piotr1212@gmail.com> - 1.5.1-5
|
|
rdobuilder |
f1e7b0 |
- Remove Python 2 subpackage
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-4
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-3
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-2
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Jan 09 2018 Piotr Popieluch <piotr1212@gmail.com> - 1.5.1-1
|
|
rdobuilder |
f1e7b0 |
- Update to 1.5.1
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.3-2
|
|
rdobuilder |
f1e7b0 |
- Rebuild for Python 3.6
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Wed Nov 09 2016 piotr1212@gmail.com - 1.3-1
|
|
rdobuilder |
f1e7b0 |
- Update to upstream 1.3
|
|
rdobuilder |
f1e7b0 |
- Update specfile to latest python packaging guidelines
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Wed Nov 09 2016 piotr1212@gmail.com - 1.2-6
|
|
rdobuilder |
f1e7b0 |
- Move python3-pytz requires to python3 subpackage (RHBZ#1393397)
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
|
|
rdobuilder |
f1e7b0 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-4
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Nov 06 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.2-2
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for python 3.5
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Jul 03 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.2-1
|
|
rdobuilder |
f1e7b0 |
- Update to 1.2
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-5
|
|
rdobuilder |
f1e7b0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat Nov 22 2014 Piotr Popieluch <piotr1212@gmail.com> - 1.1.2-4
|
|
rdobuilder |
f1e7b0 |
- added epel support
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Tue Oct 28 2014 Piotr Popieluch <piotr1212@gmail.com> - 1.1.2-3
|
|
rdobuilder |
f1e7b0 |
- fixed python3-tzlocal %%summary to match python-tzlocal
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Sat Oct 25 2014 Piotr Popieluch <piotr1212@gmail.com> - 1.1.2-2
|
|
rdobuilder |
f1e7b0 |
- deleted group tag
|
|
rdobuilder |
f1e7b0 |
- added license to python3 module
|
|
rdobuilder |
f1e7b0 |
- rewritten summary
|
|
rdobuilder |
f1e7b0 |
- wrapped description
|
|
rdobuilder |
f1e7b0 |
- added rm -rf *.egg-info to %%prep
|
|
rdobuilder |
f1e7b0 |
- added comments to the rm commands in %%install section
|
|
rdobuilder |
f1e7b0 |
|
|
rdobuilder |
f1e7b0 |
* Fri Oct 24 2014 Piotr Popieluch <piotr1212@gmail.com> - 1.1.2-1
|
|
rdobuilder |
f1e7b0 |
- Initial package
|