rdobuilder fac328
# Created by pyp2rpm-3.2.3
rdobuilder fac328
%global pypi_name croniter
rdobuilder fac328
rdobuilder fac328
Name:           python-%{pypi_name}
rdobuilder fac328
Version:        5.0.1
rdobuilder fac328
Release:        1%{?dist}
rdobuilder fac328
Summary:        Iteration for datetime object with cron like format
rdobuilder fac328
rdobuilder fac328
License:        MIT
rdobuilder fac328
URL:            https://github.com/kiorky/croniter
rdobuilder fac328
Source0:        %{pypi_source}
rdobuilder fac328
BuildArch:      noarch
rdobuilder fac328
rdobuilder fac328
%global _description %{expand:
rdobuilder fac328
croniter provides iteration for the datetime object with a cron like format.}
rdobuilder fac328
rdobuilder fac328
rdobuilder fac328
%description %_description
rdobuilder fac328
rdobuilder fac328
%package -n     python3-%{pypi_name}
rdobuilder fac328
Summary:        %{summary}
rdobuilder fac328
%{?python_provide:%python_provide python3-%{pypi_name}}
rdobuilder fac328
 
rdobuilder fac328
Requires:       python3-dateutil
rdobuilder fac328
%description -n python3-%{pypi_name} %_description
rdobuilder fac328
rdobuilder fac328
%prep
rdobuilder fac328
%autosetup -p1 -n %{pypi_name}-%{version}
rdobuilder fac328
rdobuilder fac328
sed -i '/-e ./d' requirements/base.txt
rdobuilder fac328
sed -i 's/^pytz.*/pytz/' requirements/base.txt
rdobuilder fac328
sed -i 's/^pytest.*/pytest/' requirements/test.txt
rdobuilder fac328
sed -i 's/^tox.*/tox/' requirements/tox.txt
rdobuilder fac328
sed -i '/^minversion.*/d' tox.ini
rdobuilder fac328
rdobuilder fac328
%generate_buildrequires
rdobuilder fac328
%pyproject_buildrequires -t
rdobuilder fac328
rdobuilder fac328
# Remove reundant script header to avoid rpmlint warnings
rdobuilder fac328
find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} +
rdobuilder fac328
rdobuilder fac328
%build
rdobuilder fac328
%pyproject_wheel
rdobuilder fac328
rdobuilder fac328
%install
rdobuilder fac328
%pyproject_install
rdobuilder fac328
%pyproject_save_files %{pypi_name}
rdobuilder fac328
rdobuilder fac328
%check
rdobuilder fac328
%tox
rdobuilder fac328
rdobuilder fac328
%files -n python3-%{pypi_name} -f %{pyproject_files}
rdobuilder fac328
%license LICENSE
rdobuilder fac328
%doc README.rst
rdobuilder fac328
rdobuilder fac328
%changelog
rdobuilder fac328
* Fri Jan 17 2025 Joel Capitao <jcapitao@redhat.com> - 5.0.1-1
rdobuilder fac328
- Update to 5.0.1
rdobuilder fac328
rdobuilder fac328
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-6
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.4.1-5
rdobuilder fac328
- Rebuilt for Python 3.13
rdobuilder fac328
rdobuilder fac328
* Sat Jan 27 2024 Maxwell G <maxwell@gtmx.me> - 1.4.1-4
rdobuilder fac328
- Remove python3-mock test dependency
rdobuilder fac328
rdobuilder fac328
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-3
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Mon Oct 09 2023 Priscila Gutierres <prgutier@redhat.com> - 1.4.1-1
rdobuilder fac328
- Update to 1.4.1
rdobuilder fac328
rdobuilder fac328
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.14-3
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Fri Jul 14 2023 Python Maint <python-maint@redhat.com> - 1.3.14-2
rdobuilder fac328
- Rebuilt for Python 3.12
rdobuilder fac328
rdobuilder fac328
* Tue Jun 13 2023 Joel Capitao <jcapitao@redhat.com> - 1.3.14-1
rdobuilder fac328
- Update to 1.3.14
rdobuilder fac328
- Switch to pyproject macros
rdobuilder fac328
rdobuilder fac328
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.8-2
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Tue Nov 22 2022 Alfredo Moralejo <amoralej@redhat.com> - 1.3.8-1
rdobuilder fac328
- Update to 1.3.8
rdobuilder fac328
rdobuilder fac328
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-3
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.4-2
rdobuilder fac328
- Rebuilt for Python 3.11
rdobuilder fac328
rdobuilder fac328
* Fri May 06 2022 Karolina Kula <kkula@redhat.com> - 1.3.4-1
rdobuilder fac328
- Update to 1.3.4
rdobuilder fac328
rdobuilder fac328
* Wed Feb 16 2022 Karolina Kula <kkula@redhat.com> - 1.2.0-1
rdobuilder fac328
- Update to 1.2.0
rdobuilder fac328
rdobuilder fac328
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.35-5
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.35-4
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.3.35-3
rdobuilder fac328
- Rebuilt for Python 3.10
rdobuilder fac328
rdobuilder fac328
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.35-2
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Mon Nov 2 2020 Yatin Karel <ykarel@redhat.com> - 0.3.35-1
rdobuilder fac328
- Update to 0.3.35
rdobuilder fac328
rdobuilder fac328
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.27-7
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.3.27-6
rdobuilder fac328
- Rebuilt for Python 3.9
rdobuilder fac328
rdobuilder fac328
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.27-5
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.27-4
rdobuilder fac328
- Rebuilt for Python 3.8.0rc1 (#1748018)
rdobuilder fac328
rdobuilder fac328
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.27-3
rdobuilder fac328
- Rebuilt for Python 3.8
rdobuilder fac328
rdobuilder fac328
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.27-2
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Thu Feb 07 2019 Yatin Karel <ykarel@redhat.com> - 0.3.27-1
rdobuilder fac328
- Bump to 0.3.27
rdobuilder fac328
- Add conditionals to build python2 subpackage in CentOS <=7
rdobuilder fac328
rdobuilder fac328
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.19-6
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.19-5
rdobuilder fac328
- Subpackage python2-croniter has been removed
rdobuilder fac328
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
rdobuilder fac328
rdobuilder fac328
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.19-4
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.19-3
rdobuilder fac328
- Rebuilt for Python 3.7
rdobuilder fac328
rdobuilder fac328
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.19-2
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Sat Oct 21 2017 Thomas Andrejak <thomas.andrejak@c-s.fr> - 0.3.19-1
rdobuilder fac328
- Bump version to 0.3.19
rdobuilder fac328
- Update to pyp2rpm 3.2.3
rdobuilder fac328
rdobuilder fac328
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.4-12
rdobuilder fac328
- Python 2 binary package renamed to python2-croniter
rdobuilder fac328
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
rdobuilder fac328
rdobuilder fac328
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-11
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-10
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.4-9
rdobuilder fac328
- Rebuild for Python 3.6
rdobuilder fac328
rdobuilder fac328
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-8
rdobuilder fac328
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
rdobuilder fac328
rdobuilder fac328
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-7
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-6
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
rdobuilder fac328
rdobuilder fac328
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-5
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-4
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
rdobuilder fac328
rdobuilder fac328
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.3.4-3
rdobuilder fac328
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
rdobuilder fac328
rdobuilder fac328
* Fri Feb 21 2014 Pádraig Brady <P@draigBrady.com> - 0.3.4-2
rdobuilder fac328
- Initial package.