forked from pool/python-sarif-om
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d2427b9668 | |||
| 71c1ccef95 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 12 08:22:52 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 13 11:24:01 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Tue Jun 13 11:24:01 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Summary: Classes implementing the SARIF 2.1.0 object model
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/microsoft/sarif-python-om
|
URL: https://github.com/microsoft/sarif-python-om
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/sarif-om/sarif_om-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/sarif_om/sarif_om-%{version}.tar.gz
|
||||||
BuildRequires: python-rpm-macros
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module pbr}
|
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
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module attrs}
|
BuildRequires: %{python_module attrs}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
|
||||||
Requires: python-attrs
|
|
||||||
Requires: python-pbr
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -44,16 +46,17 @@ Classes implementing the SARIF 2.1.0 object model.
|
|||||||
%setup -q -n sarif_om-%{version}
|
%setup -q -n sarif_om-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# no upstream testsuite
|
# no upstream testsuite
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/sarif[-_]om
|
||||||
|
%{python_sitelib}/sarif[-_]om-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user