diff --git a/webbuild/webbuild-cgi b/webbuild/webbuild-cgi
index e2fb2f9..2cb2064 100755
--- a/webbuild/webbuild-cgi
+++ b/webbuild/webbuild-cgi
@@ -1241,13 +1241,13 @@ fi
if [ "$MAINTAINERMODE" != "true" ]; then
echo -n "
Version: "
[ "${SPECVAR_Epoch[0]}" ] && echo -n "${SPECVAR_Epoch[0]}:" || echo -n "0:"
- echo -n "${SPECVAR_Version[0]}-${SPECVAR_Release[0]}
"
+ echo -n "${SPECVAR_Version[0]}-${SPECVAR_Release[0]}
HINT: does summary look short and good?
${SPECVAR_Name[0]} - ${SPECVAR_Summary[0]}."`\""
+ echo -n "); class=redbutton $HREFADD>"
+ # recreate and send SRPM
+ if [ "$SPECVAR_CHECK_NOAUTOBUILDREQ" ]; then
+ HREFADD="disabled=disabled title=\"WARNING: fix specfile build requirements before you can send the package\""
+ else
+ HREFADD=
+ fi
+ echo -n "$PACKAGE source package only to "`\"+getSelectedValueById('sendrepository')+"
+ echo -n "\"`cgi_encodevar "?
WARNING: use this to refresh the SRPM of a package which already exists with same release in repository"`\""
+ echo -n "); class=redbutton $HREFADD>"
+ # recreate SRPM before sending checkbox
+ echo -n ""
+
# specfile update
echo -n "