Accepting request 808627 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/808627 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=82
This commit is contained in:
parent
ee812d94f0
commit
c6b79ee653
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 06:50:30 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 16 08:27:33 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
@ -39,6 +39,8 @@ Requires: python-SecretStorage >= 3
|
||||
Requires: python-entrypoints
|
||||
Requires: python-jeepney >= 0.4.2
|
||||
Requires: python-setuptools
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -57,15 +59,22 @@ sed -i -e 's,--flake8,,' -e 's,--black,,' -e 's,--cov,,' pytest.ini
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/keyring
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%post
|
||||
%python_install_alternative keyring
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative keyring
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CHANGES.rst
|
||||
%license LICENSE
|
||||
%python3_only %{_bindir}/keyring
|
||||
%python_alternative %{_bindir}/keyring
|
||||
%{python_sitelib}/keyring-%{version}-py*.egg-info
|
||||
%{python_sitelib}/keyring/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user