Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

2 changed files with 13 additions and 16 deletions

View File

@ -1,10 +1,3 @@
-------------------------------------------------------------------
Wed Oct 9 06:39:32 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Clean up {Build,}Requires.
- No more greedy globs in %files.
-------------------------------------------------------------------
Thu Apr 29 13:20:53 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-inspektor
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{suse_version} >= 1550
# cliff and stevedore are only built for primary python3
%define pythons python3
@ -33,22 +34,26 @@ BuildRequires: %{python_module cmd2}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module logutils >= 0.3.3}
BuildRequires: %{python_module pbr >= 1.4}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycodestyle >= 2.0.0}
BuildRequires: %{python_module pylint >= 1.3.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-cliff
BuildRequires: python3-stevedore
Requires: python-astroid >= 1.2.1
Requires: python-cliff
Requires: python-cmd2
Requires: python-logutils >= 0.3.3
Requires: python-pbr >= 1.4
Requires: python-pycodestyle >= 2.0.0
Requires: python-pylint >= 1.3.1
Requires: python-six
Requires: python-stevedore
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
BuildRequires: python3-typed-ast
Requires: python3-typed-ast
%python_subpackages
%description
@ -62,13 +67,13 @@ Inspektor can work with Git and SVN checkouts.
%setup -q -n %{pkgname}-%{version}
%build
%pyproject_wheel
%python_build
%check
# No test suite
%install
%pyproject_install
%python_install
%python_clone -a %{buildroot}%{_bindir}/inspekt
%fdupes %{buildroot}
@ -82,7 +87,6 @@ Inspektor can work with Git and SVN checkouts.
%license LICENSE
%doc README.rst
%python_alternative %{_bindir}/inspekt
%{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/*
%changelog