From 8b3cc27509c77ab2cf8c181fea07ea214fa33232 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 10 Apr 2016 12:39:13 -0600 Subject: [PATCH] Update to 1.0.3 - Add python2 provides (fixes bug #1313235 and #1314349) --- .gitignore | 1 + python-oauthlib.spec | 18 ++++++++++++------ sources | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 134d6ed..447ef9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /oauthlib-0.6.0.tar.gz /oauthlib-514cad74bde4cd7781b496155058a79507245798.tar.gz +/oauthlib-1.0.3.tar.gz diff --git a/python-oauthlib.spec b/python-oauthlib.spec index 2593c2a..790b059 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -18,15 +18,15 @@ %global modname oauthlib Name: python-oauthlib -Version: 0.7.2 -Release: 5.%{checkout}%{?dist} +Version: 1.0.3 +Release: 1%{?dist} Summary: An implementation of the OAuth request-signing logic Group: Development/Libraries License: BSD URL: http://pypi.python.org/pypi/oauthlib -#Source0: http://pypi.python.org/packages/source/o/%{modname}/%{modname}-%{version}.tar.gz -Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{commit}/%{gh_project}-%{commit}.tar.gz +Source0: http://pypi.python.org/packages/source/o/%{modname}/%{modname}-%{version}.tar.gz +#Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{commit}/%{gh_project}-%{commit}.tar.gz BuildArch: noarch @@ -47,6 +47,8 @@ BuildRequires: python-crypto >= 2.6 Requires: python-crypto >= 2.6 %endif +Provides: python2-oauthlib = %{version} + %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -83,8 +85,8 @@ very little effort. %endif %prep -#%%setup -q -n %{modname}-%{version} -%setup -q -n %{gh_project}-%{commit} +%setup -q -n %{modname}-%{version} +#%%setup -q -n %{gh_project}-%{commit} # python-unittest2 is now provided by "python" package and python-unittest is retired # adapt setup.py to reflect this fact downstream @@ -140,6 +142,10 @@ popd %endif %changelog +* Sun Apr 10 2016 Kevin Fenzi - 1.0.3-1 +- Update to 1.0.3 +- Add python2 provides (fixes bug #1313235 and #1314349) + * Thu Feb 04 2016 Fedora Release Engineering - 0.7.2-5.20150520git514cad7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index 0da99d9..1f94feb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -de7be92f0dab479f482e4f08a0d1c3c0 oauthlib-514cad74bde4cd7781b496155058a79507245798.tar.gz +02772867bf246b3b37f4ed22786c41f5 oauthlib-1.0.3.tar.gz