Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: rpmbuild -t seems broken. It gives error it would when it can't find the spec file. I have tried all the applicable variants of "-t" such as -ta, -tb, -ts. Version-Release number of selected component (if applicable): Current (Sept 25, 2006) Fedora Development rpm-build package: rpm-build-4.4.2-32 I have not tried any older rawhide versions. How reproducible: I have tried several different tarballs. Mostly my own creations that work fine on Fedora 4 as well some 3rd party ones. I have not found one that works yet. Steps to Reproduce: Using system-config-keyboard as example only. 1. setup rpm build environment for user or use root 2. rpm -ivh http://mirror.hiwaay.net/redhat/fedora/linux/core/development/source/SRPMS/system-config-keyboard-1.2.7-2.src.rpm 3. rpmbuild -ta system-config-keyboard-1.2.7.tar.bz2 Actual results: error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package) Expected results: Executing(%prep): /bin/sh -e /home/laurie/rpm/tmp/rpm-tmp.36136 + umask 022 + cd /home/laurie/rpm/BUILD + LANG=C + export LANG + unset DISPLAY + cd /home/laurie/rpm/BUILD + rm -rf system-config-keyboard-1.2.7 + /usr/bin/bzip2 -dc /home/laurie/rpm/SOURCES/system-config-keyboard-1.2.7.tar.bz2 + tar -xf - [snip] Additional info: The man page is rather lite on details as to what the spec file should be called, how deep it will search, which file it will choose if there are several, etc. I have searched bugzilla, the fedora-devel mailing list, and google and cannot find any mention of this problem.
Doesn't anyone bother to search BEFORE reporting a bug? This is about the billionth duplicate of this same bug. SEARCH BEFORE YOU FILE!
Sorry, I didn't mean to be a pest. I searched Fedora-Core/devel/rpm in bugzilla, it gives 42 results, I read through every single one and found nothing similar.
Don't narrow it down like that. A simple search for "rpmbuild -t" brings up quite a collection of bugs.
*** This bug has been marked as a duplicate of 206841 ***