!5 remove rpath
From: @caodongxia Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
3aaa3e44e4
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: dleyna-server
|
Name: dleyna-server
|
||||||
Version: 0.6.0
|
Version: 0.6.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Summary: APIs for discovering Digital Media Servers
|
Summary: APIs for discovering Digital Media Servers
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://01.org/dleyna/
|
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(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-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: pkgconfig(gupnp-dlna-2.0) >= 0.9.4 pkgconfig(libsoup-2.4) >= 2.28.2
|
||||||
|
BuildRequires: chrpath
|
||||||
Requires: dbus dleyna-connector-dbus
|
Requires: dbus dleyna-connector-dbus
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,6 +32,15 @@ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_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
|
%files
|
||||||
%doc AUTHORS COPYING ChangeLog README
|
%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.*
|
%{_libdir}/dleyna-server/libdleyna-server-%{api}.so.*
|
||||||
%{_libexecdir}/dleyna-server-service
|
%{_libexecdir}/dleyna-server-service
|
||||||
%config(noreplace) %{_sysconfdir}/dleyna-server-service.conf
|
%config(noreplace) %{_sysconfdir}/dleyna-server-service.conf
|
||||||
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
%exclude %{_includedir}
|
%exclude %{_includedir}
|
||||||
%exclude %{_libdir}/dleyna-server/{libdleyna-server-1.0.la,libdleyna-server-%{api}.so}
|
%exclude %{_libdir}/dleyna-server/{libdleyna-server-1.0.la,libdleyna-server-%{api}.so}
|
||||||
%exclude %{_libdir}/pkgconfig
|
%exclude %{_libdir}/pkgconfig
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 23 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 0.6.0-5
|
||||||
- Port to gupnp 1.2
|
- Port to gupnp 1.2
|
||||||
- Avoid crash when getting server properties
|
- Avoid crash when getting server properties
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user