From 8233ea43595e234dac571bd0a0a1748deb69d617e1453e3d450b4a0d8d0c2760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 14 Mar 2020 08:59:38 +0000 Subject: [PATCH] - Fix build without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EditorConfig?expand=0&rev=8 --- python-EditorConfig.changes | 5 +++++ python-EditorConfig.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-EditorConfig.changes b/python-EditorConfig.changes index 3c6e137..dcaac7c 100644 --- a/python-EditorConfig.changes +++ b/python-EditorConfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 14 08:59:26 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 + ------------------------------------------------------------------- Tue Mar 5 14:55:37 UTC 2019 - Tomáš Chvátal diff --git a/python-EditorConfig.spec b/python-EditorConfig.spec index d7292a2..fa8eebd 100644 --- a/python-EditorConfig.spec +++ b/python-EditorConfig.spec @@ -1,7 +1,7 @@ # # spec file for package python-EditorConfig # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,8 +22,7 @@ Version: 0.12.2 Release: 0 Summary: File Locator and Interpreter for Python License: Python-2.0 AND BSD-2-Clause -Group: Development/Languages/Python -URL: http://editorconfig.org +URL: https://editorconfig.org Source0: https://files.pythonhosted.org/packages/source/E/EditorConfig/EditorConfig-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -52,6 +51,6 @@ rm -rf %{buildroot}%{_bindir} %license LICENSE.* COPYING %doc README.rst %{python_sitelib}/editorconfig -%{python_sitelib}/EditorConfig-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/EditorConfig-%{version}-py%{python_version}.egg-info %changelog