| |
@@ -286,8 +286,8 @@
|
| |
)
|
| |
return
|
| |
_mock_root_setup("While installing built packages", force=True)
|
| |
- rpms = Mock.get_package_rpm_paths(self.spec)
|
| |
- rpms.extend(Mock.get_package_debuginfo_paths(self.spec.get_package_nvr()))
|
| |
+ rpms = glob.glob(os.path.join(Mock.resultdir, "*.rpm"))
|
| |
+ rpms = [rpm for rpm in set(rpms) if 'src.rpm' not in rpm]
|
| |
self.log.info("Installing built package(s)")
|
| |
output = Mock.install(rpms)
|
| |
if not output:
|
| |
Rather than use spec file to get list of binary rpms that will be built,
get the actual binary rpms that are built and install all of them.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2132574