forked from pool/python-stomp.py
Accepting request 807138 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/807138 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stomp.py?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
6cf1a28960
commit
6a81be656a
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 08:03:05 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 20:08:47 UTC 2020 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
@@ -30,6 +30,8 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-docopt >= 0.6.2
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -45,12 +47,19 @@ A Python client library for accessing messaging servers (such as ActiveMQ, Apoll
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/stomp
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative stomp
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative stomp
|
||||
|
||||
%files %{python_files}
|
||||
%doc README CHANGELOG
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%python3_only %{_bindir}/stomp
|
||||
%python_alternative %{_bindir}/stomp
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user