| |
@@ -264,7 +264,7 @@
|
| |
for pkg in self.spec.packages:
|
| |
if pkg == self.spec.base_package:
|
| |
continue
|
| |
- for pkg_end in ['debuginfo', 'debugsource', '-javadoc', '-doc']:
|
| |
+ if pkg.endswith(('debuginfo', 'debugsource', '-javadoc', '-doc')):
|
| |
continue
|
| |
reqs = ''.join(self.rpms.get(pkg).format_requires)
|
| |
if regex not in reqs:
|
| |
The current code does not work as expected. It should be a if
construction and not a for loop. The previous patch I had made for it is
likely to have been badly commited.