[Rpm-maint] [rpm-software-management/rpm] Change in behaviour from 4.14 to 4.15 when calling rpmbuild --nobuild (#875)

Sacha notifications at github.com
Wed Nov 13 17:05:18 UTC 2019


Hi Florian,

Thank you for looking into this.

Let me explain the use-case of how I used this "option" before. I have a 
script that sometimes check upstream websites for some software that I 
rely on and that I have custom build to enable options that fedora may 
not enable by default. If some new packages become available I want to run 
a batch build job during the night to compile all new packages.

Something like:
for s in *.spec
do
 rpmbuild --clean -ba $s ||:
done

I used the rpmbuild --nobuild "feature" as a quick check to make sure that 
all build dependencies for all packages are met without doing any actual 
building.

With the change from 4.14 -> 4.15 this no longer worked as before. I can 
see that there are alternatives like "-bb --nobuild". I think my 
suggestion is actually quite clean for my use-case: an option that only 
runs the check build-deps part of the logic.

I hope this makes sense.

With kind regards,

Sacha

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/875#issuecomment-553496635
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20191113/7047876d/attachment.html>


More information about the Rpm-maint mailing list