Description of problem: Build fails even command: yum-builddeb SRPMS/vpnc* has been executed. Version-Release number of selected component (if applicable): 0.3.3-13.fc6 How reproducible: Try to rebuild it in plain system. Steps to Reproduce: 1. start building in absolute minimal system (RHEL5, fc6) 2. yum-builddeb vpnc-...... 3. rpmbuild -bb vpnc.spec Actual results: build can't find gcc. Expected results: finished build. Additional info: /me thinks that this level deps should be elsewhere.
gcc should not be in BuildRequires according to the Fedora packaging guidelines. http://www.fedoraproject.org/wiki/Packaging/Guidelines#head-4cadce5e79d38a63cad3941de1dadc9d25d67d30
I agree with the reasoning 'too often', but that anyway causes broken system. Those should be rpmbuild pkg dependencies then.
Standard build systems like mock have minimal build groups that already satisfy this desire. Additionally, you may do it manually by installing rpmdevtools, which pulls in the minimal requirements as specified by the Fedora Packaging Guidelines.