Notification time stamped 2018-07-31 20:42:59 UTC
From 59f83e1a6282eeeb872cdfa5417a7e7f1d4fa117 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam(a)redhat.com>
Date: Jul 31 2018 20:42:29 +0000
Subject: Cope with no 'python2-requests-oauthlib' provide in EPEL 7
---
diff --git a/python-mwclient.spec b/python-mwclient.spec
index a58c5f7..2d9c731 100644
--- a/python-mwclient.spec
+++ b/python-mwclient.spec
@@ -8,7 +8,13 @@
%endif
# packages required at both test time and run time
+%if 0%{?rhel} < 8
+# python-requests-oauthlib is in RHEL 7 but does not provide
+# python2-requests-oauthlib
+%global test_requires2 python2-requests python-requests-oauthlib python2-six
+%else
%global test_requires2 python2-requests python2-requests-oauthlib python2-six
+%endif
%global test_requires3 python3-requests python3-requests-oauthlib python3-six
python3-simplejson
%global github_owner mwclient
https://src.fedoraproject.org/rpms/python-mwclient/c/59f83e1a6282eeeb872c...