From 3dae98f3f8f4c94838399ef5cd89a84fa03c14b9b5479eff60e15b6ac8e8b55e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 23 May 2023 12:49:52 +0000 Subject: [PATCH 1/2] Accepting request 1088651 from home:jsrain:branches:devel:languages:python - updated the LICENSE.rst URL OBS-URL: https://build.opensuse.org/request/show/1088651 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-et_xmlfile?expand=0&rev=10 --- python-et_xmlfile.changes | 5 +++++ python-et_xmlfile.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-et_xmlfile.changes b/python-et_xmlfile.changes index 57b8fe5..7d2fc84 100644 --- a/python-et_xmlfile.changes +++ b/python-et_xmlfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 23 03:54:32 UTC 2023 - Jiri Srain + +- updated the LICENSE.rst URL + ------------------------------------------------------------------- Thu Mar 12 07:19:24 UTC 2020 - Tomáš Chvátal diff --git a/python-et_xmlfile.spec b/python-et_xmlfile.spec index 3c4fba4..4def64f 100644 --- a/python-et_xmlfile.spec +++ b/python-et_xmlfile.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Summary: An implementation of lxml.xmlfile for the standard library License: MIT 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 +Source1: https://raw.githubusercontent.com/biydnd/et_xmlfile/master/LICENCE.rst BuildRequires: %{python_module lxml} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} From 2a183bea962462ea11933f8f2d9d16c3bfc83c08f39dd509b438c388ecb3fca0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 23 May 2023 13:14:26 +0000 Subject: [PATCH 2/2] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-et_xmlfile?expand=0&rev=11 --- python-et_xmlfile.changes | 5 +++++ python-et_xmlfile.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-et_xmlfile.changes b/python-et_xmlfile.changes index 7d2fc84..45157b8 100644 --- a/python-et_xmlfile.changes +++ b/python-et_xmlfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 23 13:14:19 UTC 2023 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Tue May 23 03:54:32 UTC 2023 - Jiri Srain diff --git a/python-et_xmlfile.spec b/python-et_xmlfile.spec index 4def64f..320572e 100644 --- a/python-et_xmlfile.spec +++ b/python-et_xmlfile.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-et_xmlfile Version: 1.0.1 Release: 0 @@ -26,8 +25,9 @@ URL: https://bitbucket.org/openpyxl/et_xmlfile Source0: https://files.pythonhosted.org/packages/source/e/et_xmlfile/et_xmlfile-%{version}.tar.gz Source1: https://raw.githubusercontent.com/biydnd/et_xmlfile/master/LICENCE.rst BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-jdcal @@ -48,10 +48,10 @@ rm -rf *.egg-info cp -a %{SOURCE1} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,7 +60,7 @@ cp -a %{SOURCE1} . %files %{python_files} %license LICENCE.rst %doc README.rst -%{python_sitelib}/et_xmlfile-%{version}-py*.egg-info -%{python_sitelib}/et_xmlfile/ +%{python_sitelib}/et_xmlfile-%{version}*-info +%{python_sitelib}/et_xmlfile %changelog