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
|
Summary: VLC bindings for python
|
||||||
License: LGPL-2.0-or-later
|
License: LGPL-2.0-or-later
|
||||||
Group: Development/Languages/Python
|
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
|
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
|
# PATCH-FIX-UPSTREAM fix-docs.patch -- Fix some example code in the docs
|
||||||
Patch0: fix-docs.patch
|
Patch0: fix-docs.patch
|
||||||
@@ -33,7 +33,6 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: vlc-devel
|
BuildRequires: vlc-devel
|
||||||
Requires: libvlc5 >= 3.0.0
|
Requires: libvlc5 >= 3.0.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -45,7 +44,7 @@ This module provides ctypes-based bindings for the native libvlc API
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n python-vlc-%{version}
|
%setup -q -n python-vlc-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
sed -i -e '1{\,^#! /usr/bin/python,d}' vlc.py
|
sed -i -e '1{\,^#! %{_bindir}/python,d}' vlc.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@@ -55,8 +54,8 @@ sed -i -e '1{\,^#! /usr/bin/python,d}' vlc.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc COPYING README.module
|
%doc README.module
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user