<p>I am hesitant to add even more build modes if the desired mode of operation can already be achieved with existing options. I just checked and <code>rpmbuild --nobuild -ba $s</code> also works. So running the same command once with --nobuild and - if everything is fine - then without should just do what you want.</p>
<p>I am wondering if calling rpmbuild without one of the build mode options should actually be made an error and should display the usage.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/875?email_source=notifications&email_token=ADLPZUZX7GODG5PH5XZ5NN3QTT7MRA5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEA5L3I#issuecomment-553768429">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU2XHOV2PEBN52HJG2TQTT7MRANCNFSM4I3437YQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU7XFF24RONT45UDE2DQTT7MRA5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEA5L3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/875?email_source=notifications\u0026email_token=ADLPZUZX7GODG5PH5XZ5NN3QTT7MRA5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEA5L3I#issuecomment-553768429",
"url": "https://github.com/rpm-software-management/rpm/issues/875?email_source=notifications\u0026email_token=ADLPZUZX7GODG5PH5XZ5NN3QTT7MRA5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEA5L3I#issuecomment-553768429",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>