Notification time stamped 2023-05-31 16:59:54 UTC
From 30b2a1536ed62154fe5e2f4796e7a49e2a9e58f6 Mon Sep 17 00:00:00 2001 From: karolinku kkula@redhat.com Date: Feb 22 2022 09:24:58 +0000 Subject: Update to 1.2.0
---
diff --git a/.gitignore b/.gitignore index 99b69d4..4b8c6a4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /croniter-0.3.19.tar.gz /croniter-0.3.27.tar.gz /croniter-0.3.35.tar.gz +/croniter-1.2.0.tar.gz diff --git a/python-croniter.spec b/python-croniter.spec index 2dd2c8f..e9a7ada 100644 --- a/python-croniter.spec +++ b/python-croniter.spec @@ -1,58 +1,32 @@ # Created by pyp2rpm-3.2.3 %global pypi_name croniter
-%if 0%{?fedora} || 0%{?rhel} > 7 -%bcond_with python2 -%bcond_without python3 -%else -%bcond_without python2 -%bcond_with python3 -%endif - Name: python-%{pypi_name} -Version: 0.3.35 -Release: 5%{?dist} +Version: 1.2.0 +Release: 1%{?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/%%7Bpypi_name%7D/%%7Bpypi_n... BuildArch: noarch - -%if %{with python2} -BuildRequires: python2-devel -BuildRequires: python2-setuptools -%endif
-%if %{with python3} +BuildRequires: python3-dateutil BuildRequires: python3-devel +BuildRequires: python3-pytest +BuildRequires: python3-pytz BuildRequires: python3-setuptools -%endif
%description croniter provides iteration for the datetime object with a cron like format.
-%if %{with python2} -%package -n python2-%{pypi_name} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{pypi_name}} - -Requires: python2-dateutil -Requires: python2-natsort -%description -n python2-%{pypi_name} -croniter provides iteration for the datetime object with a cron like format. -%endif - -%if %{with python3} %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}}
Requires: python3-dateutil -Requires: python3-natsort %description -n python3-%{pypi_name} croniter provides iteration for the datetime object with a cron like format. -%endif
%prep %autosetup -p1 -n %{pypi_name}-%{version} @@ -64,43 +38,27 @@ rm -rf %{pypi_name}.egg-info find -name *.py -exec sed -i '//usr/bin/env python/{d;q}' {} +
%build -%if %{with python2} -%py2_build -%endif -%if %{with python3} %py3_build -%endif
%install # Must do the subpackages' install first because the scripts in /usr/bin are # overwritten with every setup.py install. -%if %{with python3} %py3_install -%endif
-%if %{with python2} -%py2_install -%endif +%check +py.test -v
-%if %{with python2} -%files -n python2-%{pypi_name} -%license docs/LICENSE -%doc README.rst - -%{python2_sitelib}/%{pypi_name} -%{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info -%endif - -%if %{with python3} %files -n python3-%{pypi_name} %license docs/LICENSE %doc README.rst
%{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info -%endif
%changelog +* Wed Feb 16 2022 Karolina Kula kkula@redhat.com - 1.2.0-1 +- Update to 1.2.0 + * Fri Jan 21 2022 Fedora Release Engineering releng@fedoraproject.org - 0.3.35-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources index 5e119ac..d68b69a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (croniter-0.3.35.tar.gz) = 91c9363598a170bb5dcfb12438770898832c21d58707cc46df1cb02a52c302066483d3cc0eb156fbf51f2d03b559b2871887ba747c8ca110e64f1e371cad15cc +SHA512 (croniter-1.2.0.tar.gz) = 0d7d59d617be16f7f1b6401a3c1260c3b644855c046fa6c2948cf2f2caaf7ee0183c659e0165c8d36068467893bb68bdd4024a246a85c76448ab0a62233c9ca1
https://src.fedoraproject.org/rpms/python-croniter/c/30b2a1536ed62154fe5e2f4...