Filter python modules from provides

Those are "private libraries" and should never be present
in provides.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2013-08-16 22:45:17 -04:00
parent dc4617f304
commit 34e05a53ae

View File

@ -10,6 +10,9 @@
# directory. # directory.
%global __requires_exclude pkg-config %global __requires_exclude pkg-config
# Do not check .so files in the python_sitelib directory for provides.
%global __provides_exclude_from ^(%{python_sitearch}|%{python3_sitearch})/.*\\.so
Name: systemd Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 206 Version: 206