diff --git a/.gitignore b/.gitignore index 83bb5b7..99e62a9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /oauthlib-1.0.3.tar.gz /oauthlib-2.0.1.tar.gz /v2.1.0.tar.gz +/oauthlib-3.0.2.tar.gz diff --git a/python-oauthlib.spec b/python-oauthlib.spec index afe395e..94ff6b1 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -19,13 +19,21 @@ %global modname oauthlib Name: python-oauthlib -Version: 2.1.0 -Release: 2%{?dist} +Version: 3.0.2 +Release: 1%{?dist} Summary: An implementation of the OAuth request-signing logic License: BSD URL: https://github.com/oauthlib/oauthlib -Source0: https://github.com/oauthlib/oauthlib/archive/v%{version}.tar.gz + +# WARNING: The upstream release URL contains a leading 'v' in the +# tarball name, however the URL downloads a tarball name without the +# leading 'v'. The packaging guidelines +# (https://fedoraproject.org/wiki/Packaging:SourceURL#Troublesome_URLs) +# state in this case one should just use the tarball name and document +# the reason why the full URL was not used. +#Source0: https://github.com/oauthlib/oauthlib/archive/v%{modname}-%{version}.tar.gz +Source0: %{modname}-%{version}.tar.gz BuildArch: noarch @@ -49,11 +57,11 @@ BuildRequires: python2-nose BuildRequires: python2-mock BuildRequires: python2-blinker -BuildRequires: python2-jwt -BuildRequires: python2-cryptography +BuildRequires: python2-jwt >= 1.6.0 +BuildRequires: python2-cryptography >= 1.4.0 -Requires: python2-jwt -Requires: python2-cryptography >= 0.8.1 +Requires: python2-jwt >= 1.6.0 +Requires: python2-cryptography >= 1.4.0 %description -n python2-oauthlib OAuthLib is a generic utility which implements the logic of OAuth without @@ -77,11 +85,11 @@ BuildRequires: python3-nose BuildRequires: python3-mock BuildRequires: python3-blinker -BuildRequires: python3-jwt -BuildRequires: python3-cryptography +BuildRequires: python3-jwt >= 1.6.0 +BuildRequires: python3-cryptography >= 1.4.0 -Requires: python3-jwt -Requires: python3-cryptography >= 0.8.1 +Requires: python3-jwt >= 1.6.0 +Requires: python3-cryptography >= 1.4.0 %description -n python3-oauthlib OAuthLib is a generic utility which implements the logic of OAuth without @@ -144,6 +152,10 @@ rm -rf %{modname}.egg-info %endif # with python3 %changelog +* Mon Jul 15 2019 - 3.0.2-1 +- Update to upstream 3.0.2 +- Resolves: rhbz#1730033 + * Sat Feb 02 2019 Fedora Release Engineering - 2.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6f75dd5..a1abc48 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v2.1.0.tar.gz) = 7935933d4c5be1eacf8688d6f0243dac8a43de35d19179839f72ee9fe9b02d4897d62a310475e741f0ed9a1c7e407bd846d51eb9884d8dd48b4624783cef0284 +SHA512 (oauthlib-3.0.2.tar.gz) = 7a91696d4fa753c2075449a9ca6122d49042ec4a318051f75c6c80b4b77caac17a91e7c4e861f6c1d697c5c80b91f7d4a0c95736cbe386857faad8467b161310