| |
@@ -3519,7 +3519,8 @@
|
| |
srpm_file, unique_path = args
|
| |
|
| |
if expected_srpm_file is None:
|
| |
- self.assertEqual('{0}.src.rpm'.format(cli.cmd.nvr), srpm_file)
|
| |
+ self.assertEqual('{0}.src.rpm'.format(os.path.join(cli.cmd.path, cli.cmd.nvr)),
|
| |
+ srpm_file)
|
| |
else:
|
| |
self.assertEqual(expected_srpm_file, srpm_file)
|
| |
six.assertRegex(self, unique_path, r'^cli-build/\d+\.\d+\.[a-zA-Z]+$')
|
| |
Fixes fail during
*pkg --path build --srpm --scratch
command execution.The SRPM was correctly created but *pkg was unable to loca it when
uploading to Koji.
JIRA: RHELCMP-6875
Fixes: https://pagure.io/rpkg/issue/580
Signed-off-by: Dominik Rumian drumian@redhat.com