14
0
2025-06-12 12:05:30 +00:00
committed by Git OBS Bridge
parent 4bcdc4fe55
commit 7399fd1fba
2 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 12:05:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Oct 7 15:40:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-simplekml
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2016-2019, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -17,16 +17,17 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-simplekml
Version: 1.3.6
Release: 0
Summary: A Simple KML creator
License: LGPL-3.0-or-later
URL: http://readthedocs.org/projects/simplekml/
URL: https://readthedocs.org/projects/simplekml/
Source: https://files.pythonhosted.org/packages/source/s/simplekml/simplekml-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/eisoldt/simplekml/master/LICENSE.txt
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -45,10 +46,10 @@ sed -i 's/\r$//' README.md
cp %{SOURCE1} .
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
#%%check
@@ -58,6 +59,6 @@ cp %{SOURCE1} .
%license LICENSE.txt
%doc README.md
%{python_sitelib}/simplekml
%{python_sitelib}/simplekml-%{version}-py%{python_version}.egg-info
%{python_sitelib}/simplekml-%{version}*-info
%changelog