From c694d6dc9ebae0a9e2c29627cc1677e102602671 Mon Sep 17 00:00:00 2001 From: Carl George Date: Oct 03 2018 16:22:24 +0000 Subject: Require python-jwt on RHEL, python2-jwt on Fedora --- diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 92333d4..e9abc9d 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -3,7 +3,7 @@ Name: python-%{pypi_name} Version: 1.39 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python library to work with the Github API License: LGPLv3+ URL: https://github.com/PyGithub/PyGithub @@ -12,7 +12,7 @@ Source0: https://files.pythonhosted.org/packages/source/P/%{pypi_name}/%{ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: python2-jwt +BuildRequires: python%{?fedora:2}-jwt BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-jwt @@ -28,7 +28,7 @@ Provides: python-github = %{version}-%{release} Obsoletes: python-github < 1.11.1-4 Provides: python-PyGithub = %{version}-%{release} Obsoletes: python-PyGithub < 1.29-8 -Requires: python2-jwt +Requires: python%{?fedora:2}-jwt %{?python_provide:%python_provide python2-pygithub} %description -n python2-pygithub %{_description} @@ -88,6 +88,9 @@ popd %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info %changelog +* Wed Oct 03 2018 Carl George - 1.39-4 +- Require python-jwt on RHEL, python2-jwt on Fedora + * Fri Jul 13 2018 Fedora Release Engineering - 1.39-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild