Skip to content

Commit

Permalink
Always keep file requires for non-rpm package expansions
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Dec 4, 2024
1 parent 5e4da38 commit 8a81ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Build/Expand.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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'};

Expand Down

0 comments on commit 8a81ef8

Please sign in to comment.