Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2fdfbc3516 | |||
| 2f8e6ea6cf | |||
| 30a6048fc4 | |||
| f8593b405c | |||
| 77c655e039 | |||
| 8a65edc9a3 | |||
| 8dd3ec3dc1 | |||
| facd34d59b | |||
| 78158340c6 | |||
| bb53e7ac90 |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 21 15:25:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 19 07:28:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 25 21:03:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Tue Feb 25 21:03:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pkginfo
|
Name: python-pkginfo
|
||||||
Version: 1.12.1.2
|
Version: 1.12.1.2
|
||||||
@@ -32,9 +37,14 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
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
|
||||||
BuildArch: noarch
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
@@ -71,6 +81,9 @@ sed -iE "s/_make_installed('wheel')/_make_installed('wheel', metadata_version='2
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative pkginfo
|
%python_uninstall_alternative pkginfo
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative pkginfo
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.txt CHANGES.txt TODO.txt
|
%doc README.txt CHANGES.txt TODO.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user