Define Source using an URL

The reasoning not to do does not apply.

Related: rhbz#1966407
This commit is contained in:
Miro Hrončok 2021-06-01 13:05:29 +02:00
parent 3ab70ccc33
commit 17c7f0875a

View File

@ -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