forked from pool/python-rollbar
Accepting request 807236 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/807236 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rollbar?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
f105e597b8
commit
7419a045de
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 09:27:47 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 15 16:06:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@@ -34,14 +34,16 @@ BuildRequires: %{python_module six >= 1.9.0}
|
||||
BuildRequires: %{python_module unittest2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 0.12.1
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.9.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-enum34
|
||||
BuildRequires: python2-mock
|
||||
%endif
|
||||
Requires: python-requests >= 0.12.1
|
||||
Requires: python-setuptools
|
||||
Requires: python-six >= 1.9.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -55,15 +57,22 @@ Send messages and exceptions with arbitrary context, get back aggregates, and de
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/rollbar
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%post
|
||||
%python_install_alternative rollbar
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative rollbar
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/rollbar
|
||||
%python_alternative %{_bindir}/rollbar
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user