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