15
0
2025-05-26 11:50:25 +00:00
committed by Git OBS Bridge
parent 81e36ebd4d
commit 318b26934f
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 26 11:50:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Mon Jan 2 19:52:01 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dicttoxml
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-dicttoxml
Version: 1.7.16
Release: 0
@@ -25,7 +24,9 @@ License: GPL-2.0-only
Group: Development/Languages/Python
URL: https://github.com/quandyfactory/dicttoxml
Source: https://files.pythonhosted.org/packages/source/d/dicttoxml/dicttoxml-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -41,10 +42,10 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' dicttoxml.py
mv LICENCE.txt LICENSE.txt
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,6 +54,7 @@ mv LICENCE.txt LICENSE.txt
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/dicttoxml
%{python_sitelib}/dicttoxml-%{version}*-info
%changelog