JIRA: RHELCMP-11466 Fixes: #672
To get all defined source files and patches from the specfile, the 'spectool' utility needs '--define' argument(s) to set specific paths for the repository.
Signed-off-by: Ondrej Nosek onosek@redhat.com
rebased onto 4980de69edcc836848e2c80f94e12fc455a57035
rebased onto d5be51eec99108c3809551b615064d0c5cbe628a
Looks good to me. I liked the previous approach, but if there are cases where it doesn't work, there's no point in it being elegant.
Pull-Request has been merged by onosek
JIRA: RHELCMP-11466
Fixes: #672
To get all defined source files and patches from the specfile, the 'spectool' utility needs '--define' argument(s) to set specific paths for the repository.
Signed-off-by: Ondrej Nosek onosek@redhat.com