From 8a81ef8a6c5a1522ad736d5b9d91810856b3be49 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Wed, 4 Dec 2024 14:50:44 +0100 Subject: [PATCH] Always keep file requires for non-rpm package expansions --- Build/Expand.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Build/Expand.pm b/Build/Expand.pm index 97c18ebc..3d23c223 100644 --- a/Build/Expand.pm +++ b/Build/Expand.pm @@ -397,6 +397,9 @@ sub expand { my $usesupplementsforchoices; my $dorecommends = $config->{'expandflags:dorecommends'}; + my $binarytype = $config->{'binarytype'} || 'rpm'; + $keepfilerequires = 1 if $binarytype ne 'rpm' && $binarytype ne 'UNDEFINED'; + my $whatprovides = $config->{'whatprovidesh'}; my $requires = $config->{'requiresh'};