3.5.3. Software Collection Library Support in Fedora and Enterprise Linux 7
When building your Software Collection for Fedora or Enterprise Linux 7, use the %__provides_exclude_from
macro to prevent scanning certain files for automatically generated RPM symbols.
For example, to prevent scanning .so
files in the %{_libdir}
directory, add the following lines before the BuildRequires
or Requires
tags in your Software Collection spec file:
%if %{?scl:1}%{!?scl:0}
%global __provides_exclude_from ^%{_libdir}/.*.so.*$
%endif