Full subpackage (-n type) with different version from main package

Michael Schwendt mschwendt at gmail.com
Sun Sep 15 19:27:51 UTC 2013


On Sun, 15 Sep 2013 14:04:09 -0500, Richard Shaw wrote:

> > It could be that you're only confused about what %setup does. You really
> > just need to tell it which build directory to enter, and that builddir
> > will be entered automatically for the rest of the %prep, %build, %install
> > and %check sections. If its the top-level source dir, and the name of
> > that one differs from the default %name-%version, tweak the %setup
> > invocation as necessary using the -n parameter.
> >
> >
> That's what I ended up doing, it just not documented on Maximum RPM that
> you need to do that.

http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-macros.html


More information about the devel mailing list