diff --git a/python-yaswfp.changes b/python-yaswfp.changes index 1c614e1..1cf69ab 100644 --- a/python-yaswfp.changes +++ b/python-yaswfp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 13 12:51:05 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon May 24 08:57:00 UTC 2021 - Paolo Perego diff --git a/python-yaswfp.spec b/python-yaswfp.spec index 8fc031c..d6fd74d 100644 --- a/python-yaswfp.spec +++ b/python-yaswfp.spec @@ -1,7 +1,7 @@ # # spec file for package python-yaswfp # -# Copyright (c) 2021 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,22 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-yaswfp Version: 0+git.1411687316.2a2cc6c Release: 0 Summary: Yet Another SWF Parser -License: GPL-3.0 -URL: http://github.com/facundobatista/yaswfp -Source: yaswfp-%{version}.tar.xz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module pytest} - -BuildRequires: fdupes -BuildArch: noarch +License: GPL-3.0-only Group: Development/Libraries/Python - +URL: https://github.com/facundobatista/yaswfp +Source: yaswfp-%{version}.tar.xz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch %python_subpackages %description @@ -41,10 +40,10 @@ Yet Another SWF Parser. %setup -q -n yaswfp-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/swfparser %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -52,7 +51,7 @@ Yet Another SWF Parser. %pytest %post -%python_install_alternative swfparser +%{pyproject_install_alternative} swfparser %postun %python_uninstall_alternative swfparser @@ -61,6 +60,7 @@ Yet Another SWF Parser. %doc README.rst %license COPYING %python_alternative %{_bindir}/swfparser -%{python_sitelib}/* +%{python_sitelib}/yaswfp +%{python_sitelib}/yaswfp-%{version}*-info %changelog