From 370dcfb372ed863020e9d93072dec6c143e32723a6be9272696edd479c869f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 11:41:03 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgen?expand=0&rev=7 --- python-feedgen.changes | 5 +++++ python-feedgen.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-feedgen.changes b/python-feedgen.changes index b2347bb..c3ab9fa 100644 --- a/python-feedgen.changes +++ b/python-feedgen.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 11:40:53 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Dec 27 02:22:03 UTC 2023 - Mia Herkt diff --git a/python-feedgen.spec b/python-feedgen.spec index a875642..b9d4bb8 100644 --- a/python-feedgen.spec +++ b/python-feedgen.spec @@ -1,7 +1,7 @@ # # spec file for package python-feedgen # -# 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 @@ -25,9 +25,11 @@ Group: Development/Languages/Python URL: https://lkiesow.github.io/python-feedgen Source: https://files.pythonhosted.org/packages/source/f/feedgen/feedgen-%{version}.tar.gz BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-lxml @@ -43,10 +45,10 @@ format. It has support for extensions. %setup -q -n feedgen-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check