forked from pool/python-python-vlc
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-vlc?expand=0&rev=5
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user