kill rpath harder
This commit is contained in:
parent
86dd264de6
commit
31d7b324e8
@ -18,7 +18,7 @@
|
|||||||
Summary: KDE 3 Libraries
|
Summary: KDE 3 Libraries
|
||||||
Name: kdelibs3
|
Name: kdelibs3
|
||||||
Version: 3.5.10
|
Version: 3.5.10
|
||||||
Release: 61%{?dist}
|
Release: 62%{?dist}
|
||||||
|
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
Url: http://www.kde.org/
|
Url: http://www.kde.org/
|
||||||
@ -316,6 +316,10 @@ export DO_NOT_COMPILE="libkscreensaver"
|
|||||||
--with-openexr \
|
--with-openexr \
|
||||||
--with-xinerama
|
--with-xinerama
|
||||||
|
|
||||||
|
# kill rpath harder, https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_Rpath
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
|
||||||
%if 0%{?apidocs}
|
%if 0%{?apidocs}
|
||||||
doxygen -s -u admin/Doxyfile.global
|
doxygen -s -u admin/Doxyfile.global
|
||||||
make %{?_smp_mflags} apidox
|
make %{?_smp_mflags} apidox
|
||||||
@ -454,6 +458,11 @@ sed -i -e "s,^OnlyShowIn=KDE;,OnlyShowIn=KDE3;," %{buildroot}%{_datadir}/applica
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
ERROR=0
|
ERROR=0
|
||||||
|
# verify rpath, or lack thereof
|
||||||
|
if [ ! -z "$(chrpath --list %{buildroot}%{_bindir}/kioexec 2>/dev/null | grep RPATH=)" ]; then
|
||||||
|
echo "ERROR: the end is neigh, rpath has returned!"
|
||||||
|
ERROR=1
|
||||||
|
fi
|
||||||
%if 0%{?apidocs}
|
%if 0%{?apidocs}
|
||||||
if [ ! -f %{buildroot}%{_docdir}/HTML/en/kdelibs-apidocs/index.html ]; then
|
if [ ! -f %{buildroot}%{_docdir}/HTML/en/kdelibs-apidocs/index.html ]; then
|
||||||
echo "ERROR: %{_docdir}/HTML/en/kdelibs-apidocs/index.html not generated"
|
echo "ERROR: %{_docdir}/HTML/en/kdelibs-apidocs/index.html not generated"
|
||||||
@ -579,6 +588,9 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 13 2014 Rex Dieter <rdieter@fedoraproject.org> 3.5.10-62
|
||||||
|
- kill rpath harder
|
||||||
|
|
||||||
* Tue Jul 22 2014 Rex Dieter <rdieter@fedoraproject.org> 3.5.10-61
|
* Tue Jul 22 2014 Rex Dieter <rdieter@fedoraproject.org> 3.5.10-61
|
||||||
- drop bootstrap
|
- drop bootstrap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user