Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
c8ccbd4f20
|
||
|
|
44a63993db
|
||
|
|
22af1f16e0
|
||
|
|
bba0fbe6f6
|
@@ -15,8 +15,11 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
|
||||
%if %{undefined primary_python}
|
||||
%define primary_python python3
|
||||
%define first_arg() %1
|
||||
%define primary_python %{first_arg %pythons}
|
||||
%endif
|
||||
|
||||
Name: python-drgn
|
||||
@@ -41,6 +44,11 @@ BuildRequires: libtool
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
# Do not even try for ancient distributions
|
||||
%if %{undefined pythons}
|
||||
ExclusiveArch: nothere
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -54,7 +62,7 @@ This package contains the Python module.
|
||||
Summary: Scriptable debugger CLI
|
||||
Conflicts: %{python_module drgn < 0.0.33}
|
||||
Provides: %{python_module drgn:/usr/bin/drgn}
|
||||
Requires: %{primary_python}-drgn
|
||||
Requires: %{primary_python}-drgn = %{version}
|
||||
|
||||
%description -n drgn
|
||||
drgn (pronounced “dragon”) is a debugger with an emphasis on
|
||||
|
||||
Reference in New Issue
Block a user