Use the modern way of filtering Provides not to interfere with modern Python RPM generators

Related: rhbz#1990421
This commit is contained in:
Tomas Orsava 2022-02-15 17:28:47 +01:00
parent fe63bd7232
commit 717f425b05

View File

@ -37,8 +37,7 @@ BuildRequires: httpd-devel
BuildRequires: gcc
# Suppress auto-provides for module DSO
%{?filter_provides_in: %filter_provides_in %{_httpd_moddir}/.*\.so$}
%{?filter_setup}
%global __provides_exclude_from %{_httpd_moddir}/.*\\.so$
%global _description\
The mod_wsgi adapter is an Apache module that provides a WSGI compliant\
@ -168,6 +167,8 @@ ln -s %{_bindir}/mod_wsgi-express-2 $RPM_BUILD_ROOT%{_bindir}/mod_wsgi-express
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 4.7.1-9
- Add automatically generated Obsoletes tag with the python39- prefix
for smoother upgrade from RHEL8
- Use the modern way of filtering Provides not to interfere with modern Python
RPM generators
- Related: rhbz#1990421
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4.7.1-8