remove rpath
This commit is contained in:
parent
02fa663377
commit
384c51a55c
@ -2,7 +2,7 @@
|
||||
|
||||
Name: dleyna-server
|
||||
Version: 0.6.0
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: APIs for discovering Digital Media Servers
|
||||
License: LGPLv2
|
||||
URL: https://01.org/dleyna/
|
||||
@ -15,6 +15,7 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.28 pkgconfig(glib-2.0) >= 2.28
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.28 pkgconfig(gssdp-1.2) >= 0.13.2
|
||||
BuildRequires: pkgconfig(gupnp-1.2) >= 0.20.3 pkgconfig(gupnp-av-1.0) >= 0.11.5
|
||||
BuildRequires: pkgconfig(gupnp-dlna-2.0) >= 0.9.4 pkgconfig(libsoup-2.4) >= 2.28.2
|
||||
BuildRequires: chrpath
|
||||
Requires: dbus dleyna-connector-dbus
|
||||
|
||||
%description
|
||||
@ -31,6 +32,15 @@ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
|
||||
%install
|
||||
%make_install
|
||||
chrpath -d %{buildroot}/%{_libexecdir}/dleyna-server-service
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING ChangeLog README
|
||||
@ -38,11 +48,15 @@ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||
%{_libdir}/dleyna-server/libdleyna-server-%{api}.so.*
|
||||
%{_libexecdir}/dleyna-server-service
|
||||
%config(noreplace) %{_sysconfdir}/dleyna-server-service.conf
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
%exclude %{_includedir}
|
||||
%exclude %{_libdir}/dleyna-server/{libdleyna-server-1.0.la,libdleyna-server-%{api}.so}
|
||||
%exclude %{_libdir}/pkgconfig
|
||||
|
||||
%changelog
|
||||
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 0.6.0-6
|
||||
- Remove rpath
|
||||
|
||||
* Wed Jun 23 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.6.0-5
|
||||
- Port to gupnp 1.2
|
||||
- Avoid crash when getting server properties
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user