diff --git a/.gitignore b/.gitignore index a1bca95..ec04be6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /requests-oauthlib-0.4.0.tar.gz /requests-oauthlib-0.5.0.tar.gz +/v0.8.0.tar.gz diff --git a/python-requests-oauthlib.spec b/python-requests-oauthlib.spec index dc96920..8ffedc5 100644 --- a/python-requests-oauthlib.spec +++ b/python-requests-oauthlib.spec @@ -13,14 +13,14 @@ %global modname requests_oauthlib Name: python-requests-oauthlib -Version: 0.5.0 -Release: 8%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Summary: OAuthlib authentication support for Requests. Group: Development/Libraries License: ISC URL: http://pypi.python.org/pypi/requests-oauthlib -Source0: http://pypi.python.org/packages/source/r/%{distname}/%{distname}-%{version}.tar.gz +Source0: https://github.com/requests/requests-oauthlib/archive/v%{version}.tar.gz BuildArch: noarch @@ -35,8 +35,8 @@ Group: Development/Libraries BuildRequires: python2-devel BuildRequires: python2-setuptools -BuildRequires: python2-oauthlib -BuildRequires: python2-requests +BuildRequires: python2-oauthlib >= 0.6.2 +BuildRequires: python2-requests >= 2.0.0 BuildRequires: python2-mock @@ -55,8 +55,8 @@ Group: Development/Libraries BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-oauthlib -BuildRequires: python3-requests +BuildRequires: python3-oauthlib >= 0.6.2 +BuildRequires: python3-requests >= 2.0.0 BuildRequires: python3-mock @@ -68,9 +68,7 @@ This project provides first-class OAuth library support for python-request. %endif %prep -%setup -q -n %{distname}-%{version} - -sed -i 's/requests>=2.0.0/requests/' setup.py +%autosetup -n %{distname}-%{version} # Remove bundled egg-info in case it exists rm -rf %{distname}.egg-info @@ -108,6 +106,10 @@ rm -rf %{distname}.egg-info %endif %changelog +* Sat Feb 25 2017 Kevin Fenzi - 0.8.0-1 +- Update to 0.8.0. +- Make sure to specify package versions required. Fixes bug #1320683 + * Sat Feb 11 2017 Fedora Release Engineering - 0.5.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index cd64197..0a3cb7e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -139a17c495fb593b5842634faf72ebb0 requests-oauthlib-0.5.0.tar.gz +SHA512 (v0.8.0.tar.gz) = 3811370c188071a0e4a3e1c295f47658f2f578d4964b26f01d328036467436f9192bdbb1d4cf9b85d15bc539cd75ee95147aebc68ac2b340858ccfef48511b05