Commit 95eaf25b authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: add initial -w support

parent c7ddb4ba
......@@ -70,6 +70,7 @@ phelp()
echog " -T set tag"
echog " -n do not check with sisyphus_check before upload"
echog " -o create nosrc.rpm package"
echog " -w build src.rpm in hasher"
echog " -z create src.rpm with compatible gzip compression (obsoleted)"
# echog " -d - remove package(s) from SRPMS and Incoming"
}
......@@ -93,6 +94,7 @@ while getopts :hfFstTcudenop:a:Ab:z opt; do
n) NOCHECK=1; ;;
o) NOSOURCE=1; ;;
p) UPLOADNOW=1 ; SIGN=1 ; POCKET=$OPTARG ;;
w) THOROUGH=1 ;;
z) export USE_LEGACY_COMPRESSION=1;
;;
d) DELETENOW=1 ;;
......
......@@ -50,6 +50,7 @@ uni_rpmbuildsrpm()
NAMESRPMIN=${NAMESRPMIN/.src.rpm/.tar}
echog "Packing git repo with \$SPECNAME as \$NAMESRPMIN"
LANG=$NEULOCALE docmd $NICE $GEAR $COMMIT $GEARRULES $RPMTOPDIR/SRPMS/$NAMESRPMIN
# TODO: use hsh --build-srpm-only to produce src.rpm when call from rpmbs -w
else
# build package without MENV checking
#if true || [ "$MENV" = "SS" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment