Some source packages assume that BuildRequires are installed before %prep is 
executed.  For example, `openssh` BuildRequires `automake` and runs 
`autoreconf` in %prep.

Prior to 11c56d5 `rpmbuild -bp` checked BuildRequires and printed a helpful 
error message if there were any missing dependencies.  Since that commit, 
`rpmbuild -bp` skips the BuildRequires check, which can lead to misleading 
errors in %prep.

This commit restores the BuildRequires check in `rpmbuild -bp`.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2271

-- Commit Summary --

  * Fix regression: -bp should check BuildRequires

-- File Changes --

    M rpmbuild.c (10)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2271.patch
https://github.com/rpm-software-management/rpm/pull/2271.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2271
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to