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
- update to version 0.3.2
- Added new Requirements:
* python[3]-iso3166
* python[3]-iso-639
* python[3]-pycryptodome
* python[3]-iso3166
* python[3]-iso-639
* python[3]-pycryptodome
-------------------------------------------------------------------
Wed Dec 07 17:10:01 UTC 2016 - josipponjavic@gmail.com

View File

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