diff --git a/.python-edgegrid.metadata b/.python-edgegrid.metadata index c4bb9ae..ff7f488 100644 --- a/.python-edgegrid.metadata +++ b/.python-edgegrid.metadata @@ -1 +1 @@ -85d1606be2fced332186959a4cdef19b96a8790b SOURCES/edgegrid-python-1.1.1.tar.gz +ff4cf38601652935dfabdf1f82183ec4338c074e SOURCES/edgegrid-python-1.2.0.tar.gz diff --git a/SPECS/python-edgegrid.spec b/SPECS/python-edgegrid.spec index 8f6b9a6..3ff54bf 100644 --- a/SPECS/python-edgegrid.spec +++ b/SPECS/python-edgegrid.spec @@ -2,8 +2,8 @@ Summary: {OPEN} client authentication protocol for python-requests Name: python-edgegrid -Version: 1.1.1 -Release: 10%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Source0: %{pypi_source} License: ASL 2.0 BuildArch: noarch @@ -19,6 +19,10 @@ that provides the Akamai {OPEN} Edgegrid Authentication scheme. Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools + +# Dependencies for tests +BuildRequires: python3dist(requests) + %{?python_provide:%python_provide python3-edgegrid} %description -n python3-edgegrid @@ -38,6 +42,10 @@ find akamai -name '*.py' -exec sed -r -e 's|^#!/usr/bin/env.*|#|' -i '{}' ';' %build %py3_build +%check +# upstream uses custom test runner in this module +%{__python3} -m akamai.edgegrid.test.test_edgegrid + %install %py3_install @@ -45,11 +53,6 @@ find akamai -name '*.py' -exec sed -r -e 's|^#!/usr/bin/env.*|#|' -i '{}' ';' %doc README.rst %license LICENSE -# Upstream installs a test suite, but it doesn't actually work. -# Probably was never intended to include this in the install. -# https://github.com/akamai/AkamaiOPEN-edgegrid-python/issues/36 -%exclude %{python3_sitelib}/akamai/edgegrid/test/ - %{python3_sitelib}/edgegrid_python*.egg-info/ %{python3_sitelib}/edgegrid_python*.pth %dir %{python3_sitelib}/akamai @@ -57,6 +60,16 @@ find akamai -name '*.py' -exec sed -r -e 's|^#!/usr/bin/env.*|#|' -i '{}' ';' %changelog +* Tue Aug 17 2021 Rohan McGovern - 1.2.0-1 +- New upstream release +- Enable tests in %check + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 1.1.1-11 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild