forked from pool/python-python-mpv
Accepting request 958482 from home:dimstar:Factory
- Dynamically add a dependency to the libmpv version that was present during build. Allows to dynamically move between various so versions (e.g. libmpv1 to libmpv2). OBS-URL: https://build.opensuse.org/request/show/958482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-mpv?expand=0&rev=29
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
# this is actually necessary
|
# this is actually necessary
|
||||||
addFilter("explicit-lib-dependency .*libmpv1")
|
addFilter("explicit-lib-dependency .*libmpv")
|
||||||
|
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 2 15:50:32 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Dynamically add a dependency to the libmpv version that was
|
||||||
|
present during build. Allows to dynamically move between various
|
||||||
|
so versions (e.g. libmpv1 to libmpv2).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 26 06:26:13 UTC 2020 - aloisio@gmx.com
|
Sun Jul 26 06:26:13 UTC 2020 - aloisio@gmx.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-mpv
|
# spec file for package python-python-mpv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,7 +26,11 @@ Source0: https://files.pythonhosted.org/packages/source/p/python-mpv/pyth
|
|||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: libmpv1
|
# Needed to be able to set the proper dependency to the library
|
||||||
|
BuildRequires: mpv-devel
|
||||||
|
# workaround via define needed as python_ubpackages wants to interpret Requires: lines
|
||||||
|
%define libmpv %(rpm -qf $(readlink -f %{_libdir}/libmpv.so) --qf "%%{name}")
|
||||||
|
Requires: %libmpv
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user