forked from pool/python-pyelftools
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
fcf3252f09 | |||
59db0c7954 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 25 12:08:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 19 10:02:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Wed Mar 19 10:02:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyelftools
|
# spec file for package python-pyelftools
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# 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
|
||||||
@@ -16,11 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyelftools
|
Name: python-pyelftools
|
||||||
Version: 0.32
|
Version: 0.32
|
||||||
@@ -35,14 +30,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -74,9 +64,6 @@ pyelftools is a pure python library for analyzing ELF files and DWARF debugging
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative readelf.py
|
%python_uninstall_alternative readelf.py
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative readelf.py
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES
|
%doc CHANGES
|
||||||
|
Reference in New Issue
Block a user