From 378cc9927e3b8ecc610bca70f5c32bf23b903905e70b0914ee223e3c00dc70a1 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 17 Sep 2017 12:23:43 +0000 Subject: [PATCH] - 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 --- streamlink.changes | 11 ++++++++--- streamlink.spec | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/streamlink.changes b/streamlink.changes index 1f16a11..6da7b2d 100644 --- a/streamlink.changes +++ b/streamlink.changes @@ -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 diff --git a/streamlink.spec b/streamlink.spec index a2c50b5..4c92125 100644 --- a/streamlink.spec +++ b/streamlink.spec @@ -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}*/