14
0

- Require update-alternatives for the scriptlets.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sshtunnel?expand=0&rev=19
This commit is contained in:
2024-03-28 07:20:05 +00:00
committed by Git OBS Bridge
parent d2a4c11c9a
commit f4695c9020
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 28 07:19:25 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Require update-alternatives for the scriptlets.
-------------------------------------------------------------------
Tue Mar 26 18:57:48 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -36,6 +36,8 @@ BuildRequires: openssh
BuildRequires: python-rpm-macros
Requires: openssh
Requires: python-paramiko >= 2.7.2
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
@@ -73,8 +75,8 @@ sed -i 's:import mock:from unittest import mock:' tests/test_forwarder.py
%license LICENSE
%doc *.rst
%python_alternative %{_bindir}/sshtunnel
%{python_sitelib}/__pycache__/sshtunnel*pyc
%pycache_only %{python_sitelib}/__pycache__/sshtunnel*pyc
%{python_sitelib}/sshtunnel.py
%{python_sitelib}/sshtunnel-*.dist-info
%{python_sitelib}/sshtunnel-{%version}.dist-info
%changelog