diff --git a/mod_wsgi.spec b/mod_wsgi.spec index 314b048..3695b1c 100644 --- a/mod_wsgi.spec +++ b/mod_wsgi.spec @@ -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 - 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 - 4.7.1-8