diff --git a/python-sarif-om.changes b/python-sarif-om.changes index c8991b7..e246631 100644 --- a/python-sarif-om.changes +++ b/python-sarif-om.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 08:22:52 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Jun 13 11:24:01 UTC 2023 - ecsos diff --git a/python-sarif-om.spec b/python-sarif-om.spec index 286c861..546bd5e 100644 --- a/python-sarif-om.spec +++ b/python-sarif-om.spec @@ -1,7 +1,7 @@ # -# spec file for package python-sarif_om +# spec file for package python-sarif-om # -# Copyright (c) 2022 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 @@ -23,18 +23,20 @@ Release: 0 Summary: Classes implementing the SARIF 2.1.0 object model License: MIT URL: https://github.com/microsoft/sarif-python-om -Source: https://files.pythonhosted.org/packages/source/s/sarif-om/sarif_om-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module setuptools} +Source: https://files.pythonhosted.org/packages/source/s/sarif_om/sarif_om-%{version}.tar.gz BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-attrs +Requires: python-pbr +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module attrs} BuildRequires: %{python_module pbr} # /SECTION -BuildRequires: fdupes -Requires: python-attrs -Requires: python-pbr -BuildArch: noarch %python_subpackages %description @@ -44,16 +46,17 @@ Classes implementing the SARIF 2.1.0 object model. %setup -q -n sarif_om-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # no upstream testsuite %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/sarif[-_]om +%{python_sitelib}/sarif[-_]om-%{version}*-info %changelog