diff --git a/fix-docs.patch b/fix-docs.patch index ee5dc96..43585a8 100644 --- a/fix-docs.patch +++ b/fix-docs.patch @@ -1,15 +1,15 @@ -Index: python-vlc-1.1.2/README.module +Index: python-vlc-3.0.101/README.module =================================================================== ---- python-vlc-1.1.2.orig/README.module -+++ python-vlc-1.1.2/README.module -@@ -42,12 +42,14 @@ directory as the libvlc.dll file (standa +--- python-vlc-3.0.101.orig/README.module ++++ python-vlc-3.0.101/README.module +@@ -68,10 +68,12 @@ Libvlc methods are available as attribut >>> import vlc >>> vlc.libvlc_get_version() -- '1.0.0 Goldeneye' -+ '2.2.6 Umbrella' +- '3.0.0-rc2 Vetinari' - >>> e=vlc.VLCException() - >>> i=vlc.libvlc_new(0, [], e) ++ '3.0.0 Vetinari' + >>> i=vlc.libvlc_new(0, []) >>> i @@ -19,5 +19,3 @@ Index: python-vlc-1.1.2/README.module + + >>> vlc.libvlc_audio_get_volume(p) 50 - - - Using wrapper classes: diff --git a/python-python-vlc.changes b/python-python-vlc.changes index 602ed3f..ed758b8 100644 --- a/python-python-vlc.changes +++ b/python-python-vlc.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Feb 12 17:43:07 UTC 2018 - aloisio@gmx.com + +- Update to version 3.0.101 + +- Refreshed fix-docs.patch + ------------------------------------------------------------------- Sun Dec 3 06:21:09 UTC 2017 - aloisio@gmx.com diff --git a/python-python-vlc.spec b/python-python-vlc.spec index 1acafd6..6eed6a0 100644 --- a/python-python-vlc.spec +++ b/python-python-vlc.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-vlc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -13,25 +13,26 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-vlc -Version: 2.2.6100 +Version: 3.0.101 Release: 0 -License: LGPL-2.0+ Summary: VLC bindings for python -Url: http://wiki.videolan.org/PythonBinding +License: LGPL-2.0+ Group: Development/Languages/Python +Url: http://wiki.videolan.org/PythonBinding Source: https://files.pythonhosted.org/packages/source/p/python-vlc/python-vlc-%{version}.tar.gz # PATCH-FIX-UPSTREAM fix-docs.patch -- Fix some example code in the docs Patch0: fix-docs.patch -BuildRequires: python-rpm-macros -BuildRequires: vlc-devel BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -Requires: libvlc5 >= 2.2.6 +BuildRequires: python-rpm-macros +BuildRequires: vlc-devel +Requires: libvlc5 >= 3.0.0 BuildArch: noarch %python_subpackages diff --git a/python-vlc-2.2.6100.tar.gz b/python-vlc-2.2.6100.tar.gz deleted file mode 100644 index ace7d5c..0000000 --- a/python-vlc-2.2.6100.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcf6d3d7cd24aa8a89fa16cd87e5abc790d8740afc663522b4a5617e97b16233 -size 86046 diff --git a/python-vlc-3.0.101.tar.gz b/python-vlc-3.0.101.tar.gz new file mode 100644 index 0000000..05383e0 --- /dev/null +++ b/python-vlc-3.0.101.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6a6ea801391449fdc08b0ff0ee0f8b840a3f96b451772e3bd01d4a652cf98d71 +size 91298