Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Where exactly does rpmbuild complain?

I'm not sure if I'm reading your question correctly, but it sounds like you might be running into a common "gotcha" with the %setup macro.

By default %setup assumes that the top-level directory within the source tarball is the "Name-Version" of the package, for example "subversion-1.6.18". If the "Name" attribute of the package is non-standard (e.g. "subversion16"), this macro's default will get confused and erroneously look for a directory called e.g. subversion16-1.6.18 (note that extra "16")

The way to fix it is to pass the "-n" parameter to %setup, for something like this:

%setup -n subversion-%{version}

See http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html for more information

Hope this is helpful