From 17c7f0875a02d87ef0ad839f66f23b299cad714e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 1 Jun 2021 13:05:29 +0200 Subject: [PATCH] Define Source using an URL The reasoning not to do does not apply. Related: rhbz#1966407 --- python-oauthlib.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/python-oauthlib.spec b/python-oauthlib.spec index dca614c..a64bf6f 100644 --- a/python-oauthlib.spec +++ b/python-oauthlib.spec @@ -8,14 +8,7 @@ Summary: An implementation of the OAuth request-signing logic License: BSD URL: https://github.com/oauthlib/oauthlib -# 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 +Source0: https://github.com/oauthlib/oauthlib/archive/v%{version}/%{modname}-%{version}.tar.gz Patch0001: nomock-indirect.patch Patch0002: nomock-direct.patch Patch0003: nomock-direct-core.patch