[master] e01527c Stop stripping rpath when building RPMs

Tollef Fog Heen tfheen at varnish-cache.org
Wed Mar 30 09:09:50 CEST 2011

commit e01527c2a72649436c7655ae9f1cc648bbf04154
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date:   Wed Mar 30 09:08:48 2011 +0200

    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

diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index 3ea0b11..13e628e 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -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}

More information about the varnish-commit mailing list