Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
4e9760b77f
commit
c7a61b34e6
1 changed files with 17 additions and 13 deletions
|
|
@ -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 <ishcherb@redhat.com> - 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 <releng@fedoraproject.org> - 3.0.5-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue