diff options
-rw-r--r-- | glusterfs.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index f795444da6d..ffd8071b53d 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -130,8 +130,8 @@ Provides: %{name}-core = %{version}-%{release} %global __filter_from_req %{?__filter_from_req} | %{__grep} -v -P '^(?!lib).*\.so.*$' %filter_setup %else - # modern rpm and current Fedora - %global __requires_exclude -P ^(?!lib).*\.so.*$ + # modern rpm and current Fedora do not generate requires if the provides + # are filtered %global __provides_exclude_from ^%{_libdir}/glusterfs/%{version}/.*$ %endif |