<p>OK, the behaviour of 4.14 is rather crude:</p>
<pre><code>rpmbuild --nobuild ~/rpmbuild/SPECS/test.spec 
error: Failed build dependencies:
        foobar is needed by test-1-1.fc30.x86_64
</code></pre>
<p><code>rpmbuild ~/rpmbuild/SPECS/test.spec</code> has no output<br>
<code>rpmbuild --bs --nobuild ~/rpmbuild/SPECS/test.spec</code> has no output</p>
<pre><code>./rpmbuild --bb --nobuild ~/rpmbuild/SPECS/test.spec 
error: Failed build dependencies:
        foobar is needed by test-1-1.fc30.x86_64
</code></pre>
<p>The last command works with 4.15, too. So while this is a change in behaviour I would argue that 4.15 behaves more consistently by not doing more when adding <code>--nobuild</code>. Is there any reason you can't use <code>--bb --nobuild</code>? Yes, it is kinda weird to tell rpmbuild to do abuild and then not to build but that's what get's the test run...</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=ADLPZUZSPWIP4C32T3MH2QTQTQV65A5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6ZORA#issuecomment-553490244">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU544KNRW3TR24Z7GT3QTQV65ANCNFSM4I3437YQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZU45OTPQXBDTBMDODJDQTQV65A5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6ZORA.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=ADLPZUZSPWIP4C32T3MH2QTQTQV65A5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6ZORA#issuecomment-553490244",
"url": "https://github.com/rpm-software-management/rpm/issues/875?email_source=notifications\u0026email_token=ADLPZUZSPWIP4C32T3MH2QTQTQV65A5CNFSM4I3437Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED6ZORA#issuecomment-553490244",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>