forked from pool/python-subliminal
Accepting request 807140 from home:pgajdos:python
submit OBS-URL: https://build.opensuse.org/request/show/807140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=17
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 08:03:07 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
- %python3_only -> %python_alternative
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 2 10:36:35 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@@ -42,10 +42,12 @@ Requires: python-rarfile >= 2.7
|
||||
Requires: python-requests >= 2.7.0
|
||||
Requires: python-six >= 1.9.0
|
||||
Requires: python-stevedore >= 1.20.0
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Recommends: python-colorlog >= 2.6.0
|
||||
BuildArch: noarch
|
||||
Provides: subliminal = %{version}
|
||||
Obsoletes: subliminal < %{version}
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -60,12 +62,19 @@ It comes with an easy to use CLI suitable for direct use or cron jobs.
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/subliminal
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%post
|
||||
%python_install_alternative subliminal
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative subliminal
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc HISTORY.rst README.rst
|
||||
%python3_only %{_bindir}/subliminal
|
||||
%python_alternative %{_bindir}/subliminal
|
||||
%{python_sitelib}/subliminal
|
||||
%{python_sitelib}/subliminal-%{version}-py%{python_version}.egg-info
|
||||
|
||||
|
Reference in New Issue
Block a user