2 Commits

2 changed files with 11 additions and 6 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 14 03:45:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Nov 20 17:27:45 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-yattag
#
# Copyright (c) 2024 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,17 +16,17 @@
#
%define skip_python2 1
Name: python-yattag
Version: 1.16.1
Release: 0
Summary: Generate HTML or XML in a pythonic way
License: LGPL-2.1-only
Group: Development/Languages/Python
URL: https://www.yattag.org
Source: https://files.pythonhosted.org/packages/source/y/yattag/yattag-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,10 +44,10 @@ sed -i '/typing/d' setup.py
touch test/__init__.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +57,6 @@ touch test/__init__.py
%doc README.rst
%license license/lgpl-2.1.txt
%{python_sitelib}/yattag
%{python_sitelib}/yattag*.egg-info
%{python_sitelib}/yattag-%{version}.dist-info
%changelog