From d94269027f1b5f3ff620aa7948ae9f8d13a639dc Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Jun 12 2018 23:14:35 +0000 Subject: New release 0.9.0, update requires, enable tests on EPEL 7+ --- diff --git a/.gitignore b/.gitignore index b2a7f2d..885b0e7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ mwclient-0.6.5.zip /mwclient-0.8.4.tar.gz /v0.8.6.tar.gz /v0.8.7.tar.gz +/v0.9.0.tar.gz diff --git a/python-mwclient.spec b/python-mwclient.spec index 0087df7..acc7c2e 100644 --- a/python-mwclient.spec +++ b/python-mwclient.spec @@ -2,20 +2,21 @@ # EL 7 %if 0%{?fedora} > 12 %global with_python3 1 +%endif +%if 0%{?fedora} > 12 || 0%{?rhel} > 6 %global with_tests 1 %endif # packages required at both test time and run time -# these are all missing python2- provides on EL, I think -%global test_requires2 python-requests python-requests-oauthlib python-six +%global test_requires2 python2-requests python2-requests-oauthlib python2-six %global test_requires3 python3-requests python3-requests-oauthlib python3-six python3-simplejson %global github_owner mwclient %global github_name mwclient Name: python-mwclient -Version: 0.8.7 -Release: 2%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: Mwclient is a client to the MediaWiki API Group: System Environment/Libraries @@ -26,12 +27,15 @@ BuildArch: noarch BuildRequires: python2-devel # For EPEL -BuildRequires: python-setuptools +BuildRequires: python2-setuptools %if 0%{?with_tests} BuildRequires: python2-pytest # Provides: python2-pytest-pep8 missing on < F26 -BuildRequires: python-pytest-pep8 -BuildRequires: python2-pytest-cache +BuildRequires: python2-pytest-pep8 +# python2-pytest-cache provide doesn't exist on EPEL 7 and making it +# happen is kind of a nightmare due to tricky arch issues with +# eventlet/greenlet +BuildRequires: python-pytest-cache BuildRequires: python2-pytest-cov BuildRequires: python2-pytest-runner BuildRequires: python2-mock @@ -123,6 +127,11 @@ provides access to most API functionality. This is the Python 3 build of %changelog +* Tue Jun 12 2018 Adam Williamson - 0.9.0-1 +- New release 0.9.0 +- Version the python2 requires (except one) +- Enable tests on EPEL 7+ + * Fri Feb 09 2018 Fedora Release Engineering - 0.8.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 4ff977f..9f35bd5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v0.8.7.tar.gz) = a1dc3c6d92e7d982d117626f3d8ec16e5659b468626551b928a514956d048f354fd6dd60c6956a73b43192c2b6391c32b98b3a9387a5ad12140ef4d5b38c97c9 +SHA512 (v0.9.0.tar.gz) = cf227cdab53d6344e4559d6082a49e1d61808e1cd5ad18d7be5b005d4a36851669f1182d63882ca7955a8f79116f4270dcfc2435c12ff33af41faf984842b964