14
0

Fix Source URL in the SPEC file.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyupgrade?expand=0&rev=42
This commit is contained in:
2021-09-24 22:43:38 +00:00
committed by Git OBS Bridge
parent 6dbaf146dc
commit 2d87dd8f9a
4 changed files with 14 additions and 7 deletions

View File

@@ -19,14 +19,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pyupgrade
Version: 2.26.0.post1
Version: 2.27.0
Release: 0
Summary: A tool to automatically upgrade syntax for newer versions
License: MIT
Group: Development/Languages/Python
URL: https://github.com/asottile/pyupgrade
# pypi tarball does not include tests, use github instead. PR for inclusion was denied https://github.com/asottile/pyupgrade/pull/326
Source: https://github.com/asottile/pyupgrade/archive/fd60bbecb9668e4392ade23dd8451b9f74d9d6c7.tar.gz#/%{name}-%{version}.tar.gz
Source: https://github.com/asottile/pyupgrade/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
#Source: https://files.pythonhosted.org/packages/source/p/pyupgrade/pyupgrade-%%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@@ -47,7 +47,7 @@ A tool to automatically upgrade syntax for newer versions of the Python
programming language.
%prep
%setup -q -n pyupgrade-fd60bbecb9668e4392ade23dd8451b9f74d9d6c7
%setup -q -n pyupgrade-%{version}
%build
%python_build