Description of problem: The SRPM has no BuildReq for a C++ compiler. Version-Release number of selected component (if applicable): psmisc-22.6-9.fc11.src.rpm How reproducible: Always. Steps to Reproduce: | [tim@passepartout ~]$ rpmbuild -bc RPMS/SPECS/psmisc.spec | Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.Cl2XGT | [...] | checking whether make sets $(MAKE)... yes | checking for i686-pc-linux-gnu-g++... no | checking for i686-pc-linux-gnu-c++... no | checking for i686-pc-linux-gnu-gpp... no | checking for i686-pc-linux-gnu-aCC... no | checking for i686-pc-linux-gnu-CC... no | checking for i686-pc-linux-gnu-cxx... no | checking for i686-pc-linux-gnu-cc++... no | checking for i686-pc-linux-gnu-cl.exe... no | checking for i686-pc-linux-gnu-FCC... no | checking for i686-pc-linux-gnu-KCC... no | checking for i686-pc-linux-gnu-RCC... no | checking for i686-pc-linux-gnu-xlC_r... no | checking for i686-pc-linux-gnu-xlC... no | checking for g++... no | checking for c++... no | checking for gpp... no | checking for aCC... no | checking for CC... no | checking for cxx... no | checking for cc++... no | checking for cl.exe... no | checking for FCC... no | checking for KCC... no | checking for RCC... no | checking for xlC_r... no | checking for xlC... no | checking for C++ compiler default output file name... | configure: error: in `/home/tim/RPMS/BUILD/psmisc-22.6': | configure: error: C++ compiler cannot create executables | See `config.log' for more details. | Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.WMzWpo (%build) | Fehler beim Bauen des RPM: | Fehler-Status beim Beenden von /var/tmp/rpm-tmp.WMzWpo (%build) | [tim@passepartout ~]$
That's NOTABUG - see http://fedoraproject.org/wiki/Packaging/Guidelines#Exceptions_2 . Build Requires for C++ compiler are not required.
Sorry, I wasn't aware of that guideline. Is there a package similar to redhat-lsb that unites these dependencies?
Good point, I don't know about such package - but it sounds like a good idea. Maybe you could ask about that on devel.org to have wider audience (maybe there is already some group in comps which could be installed to achieve this - I'm not sure).