hybrid: Don't add debuginfo as langpacks
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
9afb8e6801
commit
736772f954
@ -138,6 +138,8 @@ class GatherMethodHybrid(pungi.phases.gather.method.GatherMethodBase):
|
|||||||
continue
|
continue
|
||||||
if pkg.name.endswith("-devel") or pkg.name.endswith("-static"):
|
if pkg.name.endswith("-devel") or pkg.name.endswith("-static"):
|
||||||
continue
|
continue
|
||||||
|
if pkg_is_debug(pkg):
|
||||||
|
continue
|
||||||
self.langpacks[name].add(pkg.name)
|
self.langpacks[name].add(pkg.name)
|
||||||
|
|
||||||
def __call__(
|
def __call__(
|
||||||
|
@ -120,6 +120,15 @@ class TestMethodHybrid(helpers.PungiTestCase):
|
|||||||
sourcerpm=None,
|
sourcerpm=None,
|
||||||
file_path=None,
|
file_path=None,
|
||||||
),
|
),
|
||||||
|
MockPkg(
|
||||||
|
name="foo-debuginfo",
|
||||||
|
version="1",
|
||||||
|
release="2",
|
||||||
|
arch="x86_64",
|
||||||
|
epoch=0,
|
||||||
|
sourcerpm=None,
|
||||||
|
file_path=None,
|
||||||
|
),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user