Commit e01527c2 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Stop stripping rpath when building RPMs

The varnish tools need some private libraries and find then via rpath,
so avoid stripping the rpath when building RPMs
parent 9434db57
......@@ -92,8 +92,8 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
# We have to remove rpath - not allowed in Fedora
# (This problem only visible on 64 bit arches)
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
#sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
# s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment