diff options
Diffstat (limited to 'modules/buildsystem/files/Mageia.pm')
-rw-r--r-- | modules/buildsystem/files/Mageia.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/buildsystem/files/Mageia.pm b/modules/buildsystem/files/Mageia.pm index ecb3d9db..74f83a75 100644 --- a/modules/buildsystem/files/Mageia.pm +++ b/modules/buildsystem/files/Mageia.pm @@ -264,6 +264,8 @@ sub get_replaced_packages { my @replaced_packages = $self->SUPER::get_replaced_packages($package, $target, $user_context, $app_context); + my $name = $package->get_name(); + # kernel packages have the version in the name # binary dkms built for old kernels have to be removed too if ($name =~ /^kernel-([^\d]*-)?([\d.]*)-(.*)$/) { # "desktop", "2.6.28", "2mnb" |