From 4cb88040527d634b6d7223276b141a989adb20a0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:07:40 +0100 Subject: [PATCH] remove provides for internal libjack and libpulse [release 0.3.4-2mamba;Sun May 10 2020] --- pipewire.spec | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/pipewire.spec b/pipewire.spec index 75a1fb5..902905e 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: pipewire Version: 0.3.4 -Release: 1mamba +Release: 2mamba Summary: Multimedia processing graphs Group: Applications/Multimedia Vendor: openmamba @@ -20,6 +20,7 @@ BuildRequires: libglib-devel BuildRequires: libgst-plugins-base-devel BuildRequires: libgstreamer-devel BuildRequires: libjack-devel +BuildRequires: libpipewire02-devel BuildRequires: libpulseaudio-devel BuildRequires: libsbc-devel BuildRequires: libsndfile-devel @@ -55,6 +56,23 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +%define _use_internal_dependency_generator 0 + +%define __find_provides %{_builddir}/pipewire-%{version}/find_provides.sh +cat > %{_builddir}/pipewire-%{version}/find_provides.sh <<_EOF +#! /bin/sh +grep -v %{_libdir}/pipewire-%{majver} | \ +%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} +_EOF +chmod +x %{_builddir}/pipewire-%{version}/find_provides.sh + +%define __find_requires %{_builddir}/pipewire-%{version}/find_requires.sh +cat > %{_builddir}/pipewire-%{version}/find_requires.sh <<_EOF +#! /bin/sh +%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null +_EOF +chmod +x %{_builddir}/pipewire-%{version}/find_requires.sh + %build %meson @@ -123,6 +141,9 @@ This package contains libraries and header files for developing applications tha %doc NEWS %changelog +* Sun May 10 2020 Silvan Calarco 0.3.4-2mamba +- remove provides for internal libjack and libpulse + * Sun May 03 2020 Automatic Build System 0.3.4-1mamba - automatic version update by autodist