14
0

Accepting request 807134 from home:pgajdos:python

submit

OBS-URL: https://build.opensuse.org/request/show/807134
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphobjinv?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-05-19 08:52:27 +00:00
committed by Git OBS Bridge
parent 475da6ac05
commit e98be1798a
2 changed files with 15 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 19 08:03:01 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
- %python3_only -> %python_alternative
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 6 13:37:32 UTC 2020 - pgajdos@suse.com Fri Mar 6 13:37:32 UTC 2020 - pgajdos@suse.com

View File

@@ -35,6 +35,8 @@ Requires: python-certifi
Requires: python-fuzzywuzzy >= 0.3 Requires: python-fuzzywuzzy >= 0.3
Requires: python-jsonschema >= 2.0 Requires: python-jsonschema >= 2.0
Requires: python-setuptools Requires: python-setuptools
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module attrs >= 17.4} BuildRequires: %{python_module attrs >= 17.4}
@@ -55,12 +57,19 @@ Sphinx objects.inv Inspection/Manipulation Tool
%install %install
%python_install %python_install
%python_clone -a %{buildroot}%{_bindir}/sphobjinv
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative sphobjinv
%postun
%python_uninstall_alternative sphobjinv
%files %{python_files} %files %{python_files}
%doc CHANGELOG.md README.rst %doc CHANGELOG.md README.rst
%license LICENSE.txt %license LICENSE.txt
%python3_only %{_bindir}/sphobjinv %python_alternative %{_bindir}/sphobjinv
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog