!65 [sync] PR-64: delete rpath info
From: @openeuler-sync-bot Reviewed-by: @liqingqing_1229 Signed-off-by: @liqingqing_1229
This commit is contained in:
commit
3adbb9c99b
@ -6,7 +6,7 @@
|
||||
Name: pulseaudio
|
||||
Summary: Improved Linux Sound Server
|
||||
Version: 15.0
|
||||
Release: 8
|
||||
Release: 9
|
||||
License: LGPLv2+
|
||||
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
|
||||
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
|
||||
@ -25,6 +25,7 @@ BuildRequires: xorg-x11-proto-devel libXtst-devel libXi-devel libSM-devel libX1
|
||||
BuildRequires: libICE-devel xcb-util-devel openssl-devel orc-devel libtdb-devel speexdsp-devel
|
||||
BuildRequires: libasyncns-devel systemd-devel systemd dbus-devel libcap-devel fftw-devel
|
||||
BuildRequires: pkgconfig(gstreamer-1.0) pkgconfig(gstreamer-app-1.0) pkgconfig(gstreamer-rtp-1.0)
|
||||
BuildRequires: chrpath
|
||||
|
||||
Obsoletes: padevchooser < 1.0
|
||||
Provides: %{name}-module-x11 %{name}-utils %{name}-esound-compat %{name}-module-zeroconf %{name}-module-gsettings
|
||||
@ -125,6 +126,13 @@ mv -fv $RPM_BUILD_ROOT/lib/udev/rules.d/90-pulseaudio.rules $RPM_BUILD_ROOT%{_pr
|
||||
|
||||
%delete_la
|
||||
|
||||
## delete rpath
|
||||
touch %{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/pulse-%{version}/modules" >> %{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/%{name}/" >> %{name}-%{_arch}.conf
|
||||
find $RPM_BUILD_ROOT/ -type f -exec file {} ';' | grep "ELF" | awk -F ':' '{print $1}' | xargs -i chrpath --delete {}
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
||||
install -p -m644 %{name}-%{_arch}.conf $RPM_BUILD_ROOT/etc/ld.so.conf.d/
|
||||
|
||||
%check
|
||||
%meson_test || TESTS_ERROR=$?
|
||||
@ -213,6 +221,7 @@ exit 0
|
||||
%files libs
|
||||
%dir %{_sysconfdir}/pulse/
|
||||
%config(noreplace) %{_sysconfdir}/pulse/client.conf
|
||||
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%{_libdir}/libpulse.so.0*
|
||||
%{_libdir}/libpulse-simple.so.0*
|
||||
%dir %{_libdir}/pulseaudio/
|
||||
@ -234,6 +243,9 @@ exit 0
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Thu Sep 22 2022 lijianglin <lijianglin2@huawei.com> - 15.0-9
|
||||
- delete rpath info
|
||||
|
||||
* Thu Aug 04 2022 Qingqing Li <liqingqing3@huawei.com> - 15.0.8
|
||||
- revert 15.0-7 due to no correct service files
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user