From c7a61b34e663cdeb28d7c2c072eb48ffe285d5b8 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Wed, 21 Feb 2018 03:22:24 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- python-APScheduler.spec | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 7332175..f08fd5f 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -5,7 +5,7 @@ Name: python-%{pypi_name} Version: 3.0.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -14,14 +14,14 @@ Source0: https://pypi.python.org/packages/source/A/%{pypi_name}/%{pypi_name}-% BuildArch: noarch BuildRequires: python2-devel -BuildRequires: python-funcsigs -BuildRequires: python-futures -BuildRequires: python-setuptools -BuildRequires: python-six >= 1.4.0 -BuildRequires: python-tzlocal +BuildRequires: python2-funcsigs +BuildRequires: python2-futures +BuildRequires: python2-setuptools +BuildRequires: python2-six >= 1.4.0 +BuildRequires: python2-tzlocal # Unit testing -BuildRequires: python-mock -BuildRequires: python-pytest +BuildRequires: python2-mock +BuildRequires: python2-pytest %if 0%{?with_python3} BuildRequires: python3-devel @@ -42,10 +42,10 @@ periodically. Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} -Requires: python-funcsigs -Requires: python-futures -Requires: python-six >= 1.4.0 -Requires: python-tzlocal +Requires: python2-funcsigs +Requires: python2-futures +Requires: python2-six >= 1.4.0 +Requires: python2-tzlocal %description -n python2-%{pypi_name} Advanced Python Scheduler (APScheduler) is a Python library that lets you @@ -68,7 +68,7 @@ periodically. %package doc Summary: Documentation of the Advanced Python Scheduler library -BuildRequires: python-sphinx +BuildRequires: python2-sphinx %description doc Documentation of the Advanced Python Scheduler library. @@ -119,6 +119,10 @@ export TZ=UTC %doc docs/_build/html %changelog +* Wed Feb 21 2018 Iryna Shcherbina - 3.0.5-8 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 3.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild