forked from pool/python-seqdiag
Accepting request 807245 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/807245 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
b59598a89d
commit
bcd8ef0cbb
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 09:27:58 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 06:28:27 UTC 2020 - Thomas Bechtold <tbechtold@suse.com>
|
||||
|
||||
|
@@ -31,6 +31,8 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-blockdiag >= 1.5.0
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -48,11 +50,18 @@ BuildArch: noarch
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/seqdiag
|
||||
|
||||
%post
|
||||
%python_install_alternative seqdiag
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative seqdiag
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst
|
||||
%python3_only %{_bindir}/seqdiag
|
||||
%python_alternative %{_bindir}/seqdiag
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user