| |
@@ -348,7 +348,7 @@
|
| |
def run(self):
|
| |
has_defattr = False
|
| |
for pkg in self.spec.packages:
|
| |
- if pkg.endswith('-debuginfo'):
|
| |
+ if pkg.endswith('-debuginfo') or pkg.endswith('-debugsource'):
|
| |
# auto-generated %defattr, ignore
|
| |
continue
|
| |
for line in self.spec.get_files(pkg):
|
| |
@@ -1170,7 +1170,7 @@
|
| |
if path.endswith('.src.rpm'):
|
| |
return True
|
| |
pkg = path.rsplit('-', 2)[0]
|
| |
- return pkg.endswith('-debuginfo')
|
| |
+ return pkg.endswith('-debuginfo') or pkg.endswith('-debugsource')
|
| |
|
| |
bad_owners_by_dir = {}
|
| |
rpm_files = glob(os.path.join(Mock.resultdir, '*.rpm'))
|
| |
Currently, fedora-review badly handles the split of -debuginfo packages into -debuginfo and -debugsource packages, it treats -debugsource as normal packages.
This PR puts -debugsource packages on par with -debuginfo ones regarding checks.