From 9834acccd4a5291c74fd651cd067e365c5cbb2d8 Mon Sep 17 00:00:00 2001 From: Carl George Date: Nov 04 2018 21:45:43 +0000 Subject: Disable python2 subpackage on F30+ --- diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 63aaad5..6f288cc 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -7,12 +7,14 @@ # package name fragment %global pkgname pygithub +%if %{defined rhel} || (%{defined fedora} && 0%{?fedora} < 30) %bcond_without python2 +%endif %bcond_without python3 Name: python-%{srcname} Version: 1.39 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python library to work with the Github API License: LGPLv3+ URL: https://github.com/PyGithub/PyGithub @@ -121,6 +123,9 @@ popd %endif %changelog +* Sun Nov 04 2018 Carl George - 1.39-5 +- Disable python2 subpackage on F30+ + * Wed Oct 03 2018 Carl George - 1.39-4 - Require python-jwt on RHEL, python2-jwt on Fedora rhbz#1634082 - Add patch0 to ensure comments are included in create_review method rhbz#1633197