88 |
|
echo "source $P5_XML_PARSER_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh |
89 |
|
echo "source $P5_LIBWWW_PERL_ROOT/etc/profile.d/init.sh" >> %i/etc/profile.d/dependencies-setup.sh |
90 |
|
|
91 |
+ |
echo "#!/bin/csh" > %i/etc/profile.d/dependencies-setup.csh |
92 |
+ |
echo "source $EXPAT_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh |
93 |
+ |
echo "source $P5_TEMPLATE_TOOLKIT_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh |
94 |
+ |
echo "source $P5_URI_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh |
95 |
+ |
echo "source $P5_XML_PARSER_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh |
96 |
+ |
echo "source $P5_LIBWWW_PERL_ROOT/etc/profile.d/init.csh" >> %i/etc/profile.d/dependencies-setup.csh |
97 |
+ |
|
98 |
+ |
|
99 |
|
perl -p -i -e "s|#!.*perl|/usr/bin/env perl|" %{i}/doc/doxygen/DoxyFilt.pl |
100 |
|
|
101 |
|
%post |
108 |
|
fi |
109 |
|
|
110 |
|
%{relocateConfig}etc/profile.d/dependencies-setup.sh |
111 |
+ |
%{relocateConfig}etc/profile.d/dependencies-setup.csh |
112 |
|
perl -p -i -e "s|%{instroot}|$RPM_INSTALL_PREFIX|g" $RPM_INSTALL_PREFIX/bin/scramv1 |
113 |
|
%files |
114 |
|
%i |