forked from pool/python-et_xmlfile
Accepting request 784146 from devel:languages:python
- Make sure to run without python2 OBS-URL: https://build.opensuse.org/request/show/784146 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-et_xmlfile?expand=0&rev=3
This commit is contained in:
commit
86c4d51f93
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Make sure to run without python2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 13:25:04 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user