Description of problem: When trying to build a package where the pristine source tarball contains a single top-level directory whose name does not exactly match %{name}-%{version}, it is necessary to use specify: %setup -n [correct directory name] Version-Release number of selected component (if applicable): rpmbuild 4.3.2 How reproducible: Always. Steps to Reproduce: 1. Create a SPEC file to use a source tarball where the name of the directory inside the tarball is not %{name}-%{version}, using the -n switch to the %setup macro 2. Run "rpmbuild -ba some.spec" 3. When rpmbuild tries to run "make [lotsa-dir-options] install", it fails because it is in the %{_builddir} directory Actual results: Failed build Expected results: Packages should be built Additional info: I have tested this on both i386 (Athlon-XP, Pentium 4) and x86_64 (2x Opteron 242), same problem. I have only tested this with one SPEC file.
This morning, I found a small typo in the SPEC file responsible for this "bug". That's what I get for trying to file a bug so late at night. Just in case, I also tried a simple test case SPEC file; it works fine. So, please close this one out. Thanks.