From 6810afc0f453542176153d4132cef86f516bf19b27135970f382db027ff96356 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:20:18 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-vlc?expand=0&rev=5 --- python-python-vlc.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-python-vlc.spec b/python-python-vlc.spec index 26ea878..1e6ae95 100644 --- a/python-python-vlc.spec +++ b/python-python-vlc.spec @@ -23,7 +23,7 @@ Release: 0 Summary: VLC bindings for python License: LGPL-2.0-or-later Group: Development/Languages/Python -Url: http://wiki.videolan.org/PythonBinding +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 @@ -33,7 +33,6 @@ BuildRequires: python-rpm-macros BuildRequires: vlc-devel Requires: libvlc5 >= 3.0.0 BuildArch: noarch - %python_subpackages %description @@ -45,7 +44,7 @@ This module provides ctypes-based bindings for the native libvlc API %prep %setup -q -n python-vlc-%{version} %patch0 -p1 -sed -i -e '1{\,^#! /usr/bin/python,d}' vlc.py +sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py %build %python_build @@ -55,8 +54,8 @@ sed -i -e '1{\,^#! /usr/bin/python,d}' vlc.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING README.module +%license COPYING +%doc README.module %{python_sitelib}/* %changelog