From 24b5999146de8f735f0327860ec1403a84ecf5e4 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Sat, 22 Dec 2001 16:26:51 +0000 Subject: [PATCH] avoid changing the OpenPKG sources in place --- tomcat/tomcat.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tomcat/tomcat.spec b/tomcat/tomcat.spec index f81b401ed0..d81f1b4430 100644 --- a/tomcat/tomcat.spec +++ b/tomcat/tomcat.spec @@ -76,10 +76,9 @@ AutoReqProv: no # patch vendor distribution ( cd $RPM_BUILD_ROOT%{l_prefix}/libexec/tomcat - %{l_rpmtool} subst \ - 's;@l_prefix@;%{l_prefix};g' \ - -- %{SOURCE tomcat.patch} - %{l_prefix}/bin/patch -p0 < %{SOURCE tomcat.patch} + cat %{SOURCE tomcat.patch} |\ + sed -e 's;@l_prefix@;%{l_prefix};g' |\ + %{l_prefix}/bin/patch -p0 ) # make scripts executable