diff --git a/.python-croniter.metadata b/.python-croniter.metadata new file mode 100644 index 0000000..ef5a37c --- /dev/null +++ b/.python-croniter.metadata @@ -0,0 +1 @@ +7741215cfae6e9105833d05f391e70d53f22fd92 SOURCES/croniter-1.3.8.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-croniter.spec b/SPECS/python-croniter.spec new file mode 100644 index 0000000..abf0994 --- /dev/null +++ b/SPECS/python-croniter.spec @@ -0,0 +1,166 @@ +# Created by pyp2rpm-3.2.3 +%global pypi_name croniter + +Name: python-%{pypi_name} +Version: 1.3.8 +Release: 2%{?dist} +Summary: Iteration for datetime object with cron like format + +License: MIT +URL: https://github.com/kiorky/croniter +Source0: https://files.pythonhosted.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-dateutil +BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-pytz +BuildRequires: python3-setuptools + +%description +croniter provides iteration for the datetime object with a cron like format. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-dateutil +%description -n python3-%{pypi_name} +croniter provides iteration for the datetime object with a cron like format. + +%prep +%autosetup -p1 -n %{pypi_name}-%{version} + +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +# Remove reundant script header to avoid rpmlint warnings +find -name \*.py -exec sed -i '/\/usr\/bin\/env python/{d;q}' {} + + +%build +%py3_build + +%install +# Must do the subpackages' install first because the scripts in /usr/bin are +# overwritten with every setup.py install. +%py3_install + +%check +py.test -v + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.rst + +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Nov 22 2022 Alfredo Moralejo - 1.3.8-1 +- Update to 1.3.8 + +* Fri Jul 22 2022 Fedora Release Engineering - 1.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.3.4-2 +- Rebuilt for Python 3.11 + +* Fri May 06 2022 Karolina Kula - 1.3.4-1 +- Update to 1.3.4 + +* Wed Feb 16 2022 Karolina Kula - 1.2.0-1 +- Update to 1.2.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.35-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.35-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 0.3.35-3 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.35-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Nov 2 2020 Yatin Karel - 0.3.35-1 +- Update to 0.3.35 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.27-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 0.3.27-6 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.3.27-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.3.27-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.3.27-3 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.3.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Feb 07 2019 Yatin Karel - 0.3.27-1 +- Bump to 0.3.27 +- Add conditionals to build python2 subpackage in CentOS <=7 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.3.19-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.3.19-5 +- Subpackage python2-croniter has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Jul 13 2018 Fedora Release Engineering - 0.3.19-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 0.3.19-3 +- Rebuilt for Python 3.7 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.3.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Oct 21 2017 Thomas Andrejak - 0.3.19-1 +- Bump version to 0.3.19 +- Update to pyp2rpm 3.2.3 + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.3.4-12 +- Python 2 binary package renamed to python2-croniter + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Jul 27 2017 Fedora Release Engineering - 0.3.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.3.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 0.3.4-9 +- Rebuild for Python 3.6 + +* Tue Jul 19 2016 Fedora Release Engineering - 0.3.4-8 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 0.3.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Nov 10 2015 Fedora Release Engineering - 0.3.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 + +* Thu Jun 18 2015 Fedora Release Engineering - 0.3.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.3.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 14 2014 Bohuslav Kabrda - 0.3.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 + +* Fri Feb 21 2014 Pádraig Brady - 0.3.4-2 +- Initial package.