- Try to deal with rpath on bundled libs
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=262
This commit is contained in:
parent
df85ecbfa5
commit
70af665799
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 21 09:17:33 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Try to deal with rpath on bundled libs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 17 12:57:07 UTC 2015 - tchvatal@suse.com
|
Fri Apr 17 12:57:07 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -238,6 +238,8 @@ BuildRequires: ucpp
|
|||||||
BuildRequires: vigra-devel
|
BuildRequires: vigra-devel
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
BuildRequires: pkgconfig(fbembed)
|
BuildRequires: pkgconfig(fbembed)
|
||||||
|
%else
|
||||||
|
BuildRequires: chrpath
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
@ -1301,6 +1303,15 @@ cat file-lists/kde_list.txt >> file-lists/kde4_list.txt
|
|||||||
# Remove pointless readmes
|
# Remove pointless readmes
|
||||||
rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
|
rm -rf %{buildroot}%{_libdir}/%{name}/readmes/
|
||||||
|
|
||||||
|
# Remove RPATH on some 3rd party bundled libs
|
||||||
|
%if !%{with systemlibs}
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libmwaw-0.3.so.3
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libwps-0.3.so.3
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/libodfgen-0.1.so.1
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librdf-lo.so.0
|
||||||
|
chrpath --delete %{buildroot}%{_libdir}/%{name}/program/librasqal-lo.so.3
|
||||||
|
%endif
|
||||||
|
|
||||||
# We have ton of duped files so run over it
|
# We have ton of duped files so run over it
|
||||||
%fdupes %{buildroot}/usr
|
%fdupes %{buildroot}/usr
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user