SHA256
1
0
forked from pool/streamlink

- Update conditionals to resolve dependencies on Leap

* python[3]-iso3166
  * python[3]-iso-639
  * python[3]-pycryptodome

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/streamlink?expand=0&rev=3
This commit is contained in:
Martin Pluskal 2017-09-17 12:23:43 +00:00 committed by Git OBS Bridge
parent 5043c539f3
commit 378cc9927e
2 changed files with 20 additions and 15 deletions

View File

@ -1,11 +1,16 @@
-------------------------------------------------------------------
Sun Sep 17 12:21:35 UTC 2017 - mpluskal@suse.com
- Update conditionals to resolve dependencies on Leap
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 7 12:32:20 UTC 2017 - p.seiler@linuxmail.org Tue Mar 7 12:32:20 UTC 2017 - p.seiler@linuxmail.org
- update to version 0.3.2 - update to version 0.3.2
- Added new Requirements: - Added new Requirements:
* python[3]-iso3166 * python[3]-iso3166
* python[3]-iso-639 * python[3]-iso-639
* python[3]-pycryptodome * python[3]-pycryptodome
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 07 17:10:01 UTC 2016 - josipponjavic@gmail.com Wed Dec 07 17:10:01 UTC 2016 - josipponjavic@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package streamlink # spec file for package streamlink
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: streamlink Name: streamlink
Version: 0.3.2 Version: 0.3.2
Release: 0 Release: 0
@ -27,24 +28,24 @@ Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{
Patch0: %{name}-use-mpv.patch Patch0: %{name}-use-mpv.patch
Recommends: mpv Recommends: mpv
BuildArch: noarch BuildArch: noarch
%if 0%{?suse_version} > 1310 %if 0%{?suse_version} > 1320
BuildRequires: python3-Sphinx
BuildRequires: python3-devel >= 3.4 BuildRequires: python3-devel >= 3.4
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-Sphinx
Requires: python3-requests >= 1.0
Requires: python3-iso3166
Requires: python3-iso-639 Requires: python3-iso-639
Requires: python3-iso3166
Requires: python3-pycryptodome Requires: python3-pycryptodome
Requires: python3-requests >= 1.0
%else %else
BuildRequires: python-Sphinx
BuildRequires: python-devel >= 2.7 BuildRequires: python-devel >= 2.7
BuildRequires: python-futures BuildRequires: python-futures
BuildRequires: python-setuptools BuildRequires: python-setuptools
BuildRequires: python-singledispatch BuildRequires: python-singledispatch
BuildRequires: python-Sphinx
Requires: python-requests >= 1.0
Requires: python-iso3166
Requires: python-iso-639 Requires: python-iso-639
Requires: python-iso3166
Requires: python-pycryptodome Requires: python-pycryptodome
Requires: python-requests >= 1.0
%endif %endif
%description %description
@ -60,14 +61,14 @@ Streamlink is a fork of the livestreamer project.
%patch0 -p1 %patch0 -p1
%build %build
%if 0%{?suse_version} > 1310 %if 0%{?suse_version} > 1320
python3 setup.py build python3 setup.py build
%else %else
python2 setup.py build python2 setup.py build
%endif %endif
%install %install
%if 0%{?suse_version} > 1310 %if 0%{?suse_version} > 1320
python3 setup.py install \ python3 setup.py install \
%else %else
python2 setup.py install \ python2 setup.py install \
@ -84,10 +85,9 @@ find %{buildroot}{%{python3_sitelib},%{python_sitelib}} -type f -name '*.py' | w
done done
%files %files
%defattr(-,root,root)
%doc AUTHORS CHANGELOG.rst LICENSE MANIFEST.in README.md %doc AUTHORS CHANGELOG.rst LICENSE MANIFEST.in README.md
%{_bindir}/%{name} %{_bindir}/%{name}
%if 0%{?suse_version} > 1310 %if 0%{?suse_version} > 1320
%{python3_sitelib}/%{name}*/ %{python3_sitelib}/%{name}*/
%else %else
%{python_sitelib}/%{name}*/ %{python_sitelib}/%{name}*/