fix rpathcompile option

(cherry picked from commit 69407c2fe5074a6ef62289c98ecd4bee9360919e)
This commit is contained in:
zhouwenpei 2022-09-13 11:22:59 +08:00 committed by openeuler-sync-bot
parent 5959950d28
commit 152cb020ad

View File

@ -14,7 +14,7 @@
Name: pipewire Name: pipewire
Version: 0.3.38 Version: 0.3.38
Release: 1 Release: 2
Summary: Multimedia processing graphs Summary: Multimedia processing graphs
License: LGPLv2+ License: LGPLv2+
URL: https://pipewire.org/ URL: https://pipewire.org/
@ -27,6 +27,8 @@ BuildRequires: gstreamer1-devel gstreamer1-plugins-base-devel systemd-devel vul
BuildRequires: alsa-lib-devel libv4l-devel doxygen xmltoman graphviz sbc-devel libsndfile-devel BuildRequires: alsa-lib-devel libv4l-devel doxygen xmltoman graphviz sbc-devel libsndfile-devel
BuildRequires: bluez-devel SDL2-devel jack-audio-connection-kit-devel python3-docutils BuildRequires: bluez-devel SDL2-devel jack-audio-connection-kit-devel python3-docutils
BuildRequires: webrtc-audio-processing-devel libldac-devel libusbx-devel BuildRequires: webrtc-audio-processing-devel libldac-devel libusbx-devel
#remove rpath
BuildRequires: chrpath
Requires(pre): shadow-utils Requires(pre): shadow-utils
Requires: systemd >= 184 rtkit Requires: systemd >= 184 rtkit
@ -180,6 +182,9 @@ This package provides a PulseAudio implementation based on PipeWire
%install %install
%meson_install %meson_install
#remove rpath
chrpath -d %{buildroot}%{_libdir}/pipewire-%{apiversion}/libpipewire-*.so
%if 0%{?enable_jack} %if 0%{?enable_jack}
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/ mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
echo %{_libdir}/pipewire-%{apiversion}/jack/ > %{buildroot}%{_sysconfdir}/ld.so.conf.d/pipewire-jack-%{_arch}.conf echo %{_libdir}/pipewire-%{apiversion}/jack/ > %{buildroot}%{_sysconfdir}/ld.so.conf.d/pipewire-jack-%{_arch}.conf
@ -369,6 +374,9 @@ systemctl --no-reload preset --global pipewire.socket >/dev/null 2>&1 || :
%{_datadir}/doc/pipewire/html/* %{_datadir}/doc/pipewire/html/*
%changelog %changelog
* Tue Sep 13 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 0.3.38-2
- fix rpath compile option
* Mon Jun 20 2022 wenlong ding <wenlong.ding@turbolinux.com.cn> - 0.3.38-1 * Mon Jun 20 2022 wenlong ding <wenlong.ding@turbolinux.com.cn> - 0.3.38-1
- Update version to 0.3.38 - Update version to 0.3.38