forked from pool/python-et_xmlfile
Accepting request 1088682 from devel:languages:python
- Clean up the SPEC file. - updated the LICENSE.rst URL OBS-URL: https://build.opensuse.org/request/show/1088682 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-et_xmlfile?expand=0&rev=4
This commit is contained in:
commit
a3241f0070
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 23 13:14:19 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Clean up the SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 23 03:54:32 UTC 2023 - Jiri Srain <jsrain@suse.com>
|
||||||
|
|
||||||
|
- updated the LICENSE.rst URL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-et_xmlfile
|
# spec file for package python-et_xmlfile
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-et_xmlfile
|
Name: python-et_xmlfile
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -24,10 +23,11 @@ Summary: An implementation of lxml.xmlfile for the standard library
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://bitbucket.org/openpyxl/et_xmlfile
|
URL: https://bitbucket.org/openpyxl/et_xmlfile
|
||||||
Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/et_xmlfile-%{version}.tar.gz
|
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
|
Source1: https://raw.githubusercontent.com/biydnd/et_xmlfile/master/LICENCE.rst
|
||||||
BuildRequires: %{python_module lxml}
|
BuildRequires: %{python_module lxml}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-jdcal
|
Requires: python-jdcal
|
||||||
@ -48,10 +48,10 @@ rm -rf *.egg-info
|
|||||||
cp -a %{SOURCE1} .
|
cp -a %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -60,7 +60,7 @@ cp -a %{SOURCE1} .
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENCE.rst
|
%license LICENCE.rst
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/et_xmlfile-%{version}-py*.egg-info
|
%{python_sitelib}/et_xmlfile-%{version}*-info
|
||||||
%{python_sitelib}/et_xmlfile/
|
%{python_sitelib}/et_xmlfile
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user