From 1623c7e5336ccce2d72fc5d5198ddfad6d7f30d8 Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Feb 09 2018 13:43:26 +0000 Subject: Update Python 2 dependency declarations to new packaging standards --- diff --git a/python-praw.spec b/python-praw.spec index 2d441b6..b9f30ec 100644 --- a/python-praw.spec +++ b/python-praw.spec @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 3.6.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A python package that allows for simple access to reddit's API License: GPLv3+ @@ -15,20 +15,20 @@ Source0: https://github.com/praw-dev/praw/archive/v%{version}.tar.gz#/%{p Patch0: praw-%{version}-remove_update_check.patch BuildArch: noarch -BuildRequires: python-setuptools +BuildRequires: python2-setuptools BuildRequires: python2-devel BuildRequires: python3-setuptools BuildRequires: python3-devel %if %{with tests} BuildRequires: mock -BuildRequires: python-betamax < 0.8 -BuildRequires: python-betamax >= 0.7.1 +BuildRequires: python2-betamax < 0.8 +BuildRequires: python2-betamax >= 0.7.1 BuildRequires: python-betamax-matchers < 0.3 BuildRequires: python-betamax-matchers >= 0.2.0 BuildRequires: python-betamax-serializers < 0.3 BuildRequires: python-betamax-serializers >= 0.2 -BuildRequires: python-pytest -BuildRequires: python-pytest-runner +BuildRequires: python2-pytest +BuildRequires: python2-pytest-runner BuildRequires: python3-mock BuildRequires: python3-betamax < 0.8 BuildRequires: python3-betamax >= 0.7.1 @@ -40,7 +40,7 @@ BuildRequires: python3-pytest BuildRequires: python3-pytest-runner %endif %if %{with docs} -BuildRequires: python-sphinx +BuildRequires: python2-sphinx %endif %description @@ -51,10 +51,10 @@ allows for simple access to reddit's API. Summary: %{summary} %{?python_provide:%python_provide python2-%{pypi_name}} -Requires: python-decorator >= 4.0.9 -Requires: python-decorator < 4.1 -Requires: python-requests >= 2.3.0 -Requires: python-six >= 1.10 +Requires: python2-decorator >= 4.0.9 +Requires: python2-decorator < 4.1 +Requires: python2-requests >= 2.3.0 +Requires: python2-six >= 1.10 %{?with_update_checker:Requires: python-update-checker = 0.11} %description -n python2-%{pypi_name} PRAW, an acronym for "Python Reddit API Wrapper", is a python package that @@ -130,6 +130,10 @@ ln -sf %{_bindir}/praw-multiprocess-3 %{buildroot}/%{_bindir}/praw-multiprocess- %endif %changelog +* Fri Feb 09 2018 Iryna Shcherbina - 3.6.0-6 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + * Fri Feb 09 2018 Fedora Release Engineering - 3.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild