AutoProvidesAndRequiresFiltering (was Re: 4.16.x is coming to Th)

Elan Ruusamäe glen at
Mon Jan 11 18:33:32 CET 2021

On 11.01.2021 17:10, Neal Gompa wrote:
> On Mon, Jan 11, 2021 at 10:09 AM Elan Ruusamäe <glen at> wrote:
>> On 11.01.2021 10:38, Jan Rękorajski wrote:
>>> If you think there is still something that is blocking the change please
>>> speak*now*.
>> are these pld introduced noauto* macros and files supported in 4.16 build?
>> %define         _noautoprovfiles        %{_libdir}/%{name}
> No, you need to use the standard filtering mechanism:

I've always thought, why provide/require SONAME dependencies of files that are not in default search path?

like, why this (or equivalent) can't be the default:

%global __provides_exclude_from ^%{_libdir}/.+/.+\\.so$
%global __requires_exclude_from ^%{_libdir}/.+/.+\\.so$

to exclude everything not a direct file in %{_libdir}[*].

[*] might also need to support lib32dir and libx32dir for multiarch.

More information about the pld-devel-en mailing list