In many cases, specfile parsing in class SpecFile failed
when the specfile contained local sources
like Source2: local.txt.
This happened because rpm sourcedir configuration
was not passed to utilityrpmspec used for parsing,
leading it to default to ~/rpmbuild/SOURCES,
which is not correct for many layouts supported by rpkg.
Fixed by passing sourcedir correctly.
In many cases, specfile parsing in class
SpecFilefailedwhen the specfile contained local sources
like
Source2: local.txt.This happened because rpm sourcedir configuration
was not passed to utility
rpmspecused for parsing,leading it to default to
~/rpmbuild/SOURCES,which is not correct for many layouts supported by rpkg.
Fixed by passing sourcedir correctly.
Signed-off-by: Otto Urpelainen oturpe@iki.fi