14
0
forked from pool/python-ntfy

Accepting request 1284179 from devel:languages:python

- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1284179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ntfy?expand=0&rev=14
This commit is contained in:
2025-06-10 07:07:50 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 9 12:37:08 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Mon Jun 2 14:43:25 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -17,6 +17,7 @@
#
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-ntfy
Version: 2.7.0
@@ -42,13 +43,13 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-appdirs
Requires: python-requests
Requires: python-ruamel.yaml
Requires(post): alts
Requires(postun): alts
Suggests: python-dnspython3
Suggests: python-emoji >= 1.6.2
Suggests: python-instapush
@@ -87,11 +88,8 @@ Quickstart
%check
%pytest --ignore 'tests/test_xmpp.py' -k 'not test_xmpp'
%post
%python_install_alternative ntfy
%postun
%python_uninstall_alternative ntfy
%pre
%python_libalternatives_reset_alternative ntfy
%files %{python_files}
%doc README.rst