commit fcbdfc2754c66673bd2e1793d9f66b220c80122d
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed May 8 15:29:09 2019 +0100
Update to 3.0.6109
.gitignore | 1 +
python-vlc.spec | 27 ++++++++++++++++++---------
sources | 2 +-
3 files changed, 20 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b6944ee..9e62646 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
python-vlc-1.1.0-20141115git.tar.bz2
/python-vlc-1.1.2-20161001git5d389c7.tar.bz2
+/python-vlc-3.0.6109-20190508git949d19e.tar.bz2
diff --git a/python-vlc.spec b/python-vlc.spec
index a234a57..d410645 100644
--- a/python-vlc.spec
+++ b/python-vlc.spec
@@ -1,16 +1,15 @@
# [Fedora] Turn off the brp-python-bytecompile script
%global __os_install_post %(echo '%{__os_install_post}' | sed -e
's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
-%global gitdate 20161001git5d389c7
+%global gitdate 20190508git949d19e
%global srcname vlc
%global sum VLC Media Player binding for Python
%global desc This package provides a python interface to control VLC Media Player.
Name: python-%{srcname}
-Version: 1.1.2
-Release: 9.%{gitdate}%{?dist}
+Version: 3.0.6109
+Release: 0.1.%{gitdate}%{?dist}
Summary: VLC Media Player binding for Python
-Group: Applications/Multimedia
License: GPLv2+
URL:
http://www.videolan.org/
Source0: %{name}-%{version}-%{gitdate}.tar.bz2
@@ -43,17 +42,22 @@ Requires: vlc-core >= 1.1.0
sed -i "s|! /usr/bin/python|! %{__python3}|" examples/*.py
%build
-# The vlc.py file is already generated
+pushd generated/3.0
%py2_build
%py3_build
+popd
%install
+pushd generated/3.0
%py2_install
%py3_install
+popd
-mkdir -p %{buildroot}%{_datadir}/%{name}/examples
-install -pm 755 examples/* \
+mkdir -p %{buildroot}%{_datadir}/%{name}/examples/video_sync
+install -pm 755 examples/*.* \
%{buildroot}%{_datadir}/%{name}/examples/
+install -pm 755 examples/video_sync/*.* \
+ %{buildroot}%{_datadir}/%{name}/examples/video_sync/
#fix shebang
sed -i "s|! /usr/bin/python|! %{__python2}|"
%{buildroot}%{python2_sitelib}/vlc.py
@@ -64,9 +68,10 @@ chmod +x %{buildroot}%{python2_sitelib}/*py
chmod +x %{buildroot}%{python3_sitelib}/*py
%check
+pushd generated/3.0
%{__python2} setup.py test
-# Disable Python 3 tests. They pass on 3.4 but fail on 3.5
-#{__python3} setup.py test
+%{__python3} setup.py test
+popd
%files -n python2-%{srcname}
%license COPYING
@@ -82,6 +87,10 @@ chmod +x %{buildroot}%{python3_sitelib}/*py
%changelog
+* Wed May 08 2019 Leigh Scott <leigh123linux(a)gmail.com> -
3.0.6109-0.1.20190508git949d19e
+- Update to 3.0.6109
+- Remove Group tag
+
* Mon Mar 04 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
1.1.2-9.20161001git5d389c7
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
- Fix shebang on examples
diff --git a/sources b/sources
index 8e99381..b5098a7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fd400903c457fbcf6f2fa75542821aca python-vlc-1.1.2-20161001git5d389c7.tar.bz2
+f402f5ef30781991fb432550d5b543fe python-vlc-3.0.6109-20190508git949d19e.tar.bz2