|
|
@ -582,10 +582,10 @@ cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.httpd <<EOF |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
# Handle contentdir |
|
|
|
# Handle contentdir |
|
|
|
mkdir $RPM_BUILD_ROOT%{contentdir}/noindex |
|
|
|
#mkdir $RPM_BUILD_ROOT%{contentdir}/noindex |
|
|
|
tar xzf $RPM_SOURCE_DIR/centos-noindex.tar.gz \ |
|
|
|
#tar xzf $RPM_SOURCE_DIR/centos-noindex.tar.gz \ |
|
|
|
-C $RPM_BUILD_ROOT%{contentdir}/noindex/ \ |
|
|
|
# -C $RPM_BUILD_ROOT%{contentdir}/noindex/ \ |
|
|
|
--strip-components=1 |
|
|
|
# --strip-components=1 |
|
|
|
|
|
|
|
|
|
|
|
rm -rf %{contentdir}/htdocs |
|
|
|
rm -rf %{contentdir}/htdocs |
|
|
|
|
|
|
|
|
|
|
|