[packages/kernel] - drop unneeded excludes (rpm 4.16 handles these differently from rpm 5)

Arkadiusz Miśkiewicz arekm at maven.pl
Wed Dec 16 10:36:12 CET 2020


W dniu 16.12.2020 o 10:14, Elan Ruusamäe pisze:
> On 15.12.2020 18:05, arekm wrote:
> 
>>   %exclude %{_kernelsrcdir}/scripts/mod
>> -%exclude %{_kernelsrcdir}/scripts/module-common.lds
> 
> what do you mean?
> 
> rpm 4.16 does prefix match and rpm5 does glob match?
> 
> ie that
> 
> %{_kernelsrcdir}/scripts/mod
> 
>   matches also
> 
> %{_kernelsrcdir}/scripts/module-common.lds
> 
>   on 4.16?
> 
> 
> does your change make .spec inclusive to 4.16-only now?

%exclude non-existsing-file seems to pass on 4.16 while fail on 5.


Similar thing - %doc with not existing file succeeds on 4.16.

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list