[packages/python-pymediainfo: 2/2] libmediainfo.so.0 is dlopened by ctypes

glen glen at pld-linux.org
Sun Feb 4 16:10:53 CET 2018


commit 91f348eaef795f81abe142850cba591902c1d09b
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Feb 4 17:10:28 2018 +0200

    libmediainfo.so.0 is dlopened by ctypes

 python-pymediainfo.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-pymediainfo.spec b/python-pymediainfo.spec
index 871547d..6aaa667 100644
--- a/python-pymediainfo.spec
+++ b/python-pymediainfo.spec
@@ -36,6 +36,7 @@ BuildRequires:	python3-pytest-runner
 BuildRequires:	python3-setuptools
 %endif
 %endif
+Requires:	libmediainfo
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,6 +46,7 @@ This small package is a wrapper around the MediaInfo library.
 %package -n python3-%{pypi_name}
 Summary:	A Python wrapper for the mediainfo library
 Group:		Libraries/Python
+Requires:	libmediainfo
 
 %description -n python3-%{pypi_name}
 This small package is a wrapper around the MediaInfo library.
@@ -58,6 +60,7 @@ This small package is a wrapper around the MediaInfo library.
 %build
 %if %{with python2}
 %py_build %{?with_tests:test}
+
 %if %{with doc}
 # generate html docs
 sphinx-build docs html
@@ -68,6 +71,7 @@ sphinx-build docs html
 
 %if %{with python3}
 %py3_build %{?with_tests:test}
+
 %if %{with doc}
 # generate html docs
 python3-sphinx-build docs html
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pymediainfo.git/commitdiff/91f348eaef795f81abe142850cba591902c1d09b



More information about the pld-cvs-commit mailing list