|
|
@@ -69,13 +69,15 @@ AutoReqProv: no
|
|
|
|
|
|
# unpack vendor distribution and relocate to final location
|
|
|
%{l_prefix}/bin/tar -cf - --exclude lib/test \
|
|
|
- bin/*.sh bin/ant bin/antRun conf lib src webapps \
|
|
|
- | ( umask 022; cd $RPM_BUILD_ROOT%{l_prefix}/libexec/tomcat/; \
|
|
|
+ bin/*.sh bin/ant bin/antRun conf lib src webapps |\
|
|
|
+ ( umask 022; \
|
|
|
+ cd $RPM_BUILD_ROOT%{l_prefix}/libexec/tomcat/; \
|
|
|
%{l_prefix}/bin/tar -xf - )
|
|
|
|
|
|
# patch vendor distribution
|
|
|
( cd $RPM_BUILD_ROOT%{l_prefix}/libexec/tomcat
|
|
|
- %{l_rpmtool} subst 's;@l_prefix@;%{l_prefix};g' \
|
|
|
+ %{l_rpmtool} subst \
|
|
|
+ 's;@l_prefix@;%{l_prefix};g' \
|
|
|
-- %{SOURCE tomcat.patch}
|
|
|
%{l_prefix}/bin/patch -p0 < %{SOURCE tomcat.patch}
|
|
|
)
|