From c09585095722d975ece8764d532f493b2f5b09020414648d9be2fd7e6fd685e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 12 Mar 2020 07:20:00 +0000 Subject: [PATCH] - Make sure to run without python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-et_xmlfile?expand=0&rev=8 --- python-et_xmlfile.changes | 5 +++++ python-et_xmlfile.spec | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/python-et_xmlfile.changes b/python-et_xmlfile.changes index a6a6c7a..57b8fe5 100644 --- a/python-et_xmlfile.changes +++ b/python-et_xmlfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal + +- Make sure to run without python2 + ------------------------------------------------------------------- Thu Dec 6 13:25:04 UTC 2018 - Tomáš Chvátal diff --git a/python-et_xmlfile.spec b/python-et_xmlfile.spec index 6973b3d..3c4fba4 100644 --- a/python-et_xmlfile.spec +++ b/python-et_xmlfile.spec @@ -1,7 +1,7 @@ # # spec file for package python-et_xmlfile # -# Copyright (c) 2018 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,7 +22,6 @@ Version: 1.0.1 Release: 0 Summary: An implementation of lxml.xmlfile for the standard library License: MIT -Group: Development/Languages/Python URL: https://bitbucket.org/openpyxl/et_xmlfile Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/et_xmlfile-%{version}.tar.gz Source1: https://bitbucket.org/openpyxl/et_xmlfile/raw/8c7ad6904ebe0ff98c204a3e77d7e78528b10ffe/LICENCE.rst @@ -56,12 +55,12 @@ cp -a %{SOURCE1} . %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}" py.test-%{$python_bin_suffix} et_xmlfile/tests +%pytest et_xmlfile/tests %files %{python_files} %license LICENCE.rst %doc README.rst -%{python_sitelib}/et_xmlfile-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/et_xmlfile-%{version}-py*.egg-info %{python_sitelib}/et_xmlfile/ %changelog