summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-mongo-dev.spec2
-rw-r--r--php-pecl-mongo.spec2
2 files changed, 2 insertions, 2 deletions
diff --git a/php-pecl-mongo-dev.spec b/php-pecl-mongo-dev.spec
index cc1bfc8..69e9ad8 100644
--- a/php-pecl-mongo-dev.spec
+++ b/php-pecl-mongo-dev.spec
@@ -62,7 +62,7 @@ Obsoletes: php55u-pecl-%{pecl_name}
%endif
%endif
-%if 0%{?fedora} < 20
+%if 0%{?fedora} < 20 && 0%{?rhel} < 7
# Filter private shared provides
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}
diff --git a/php-pecl-mongo.spec b/php-pecl-mongo.spec
index 610f54f..a6b1fc5 100644
--- a/php-pecl-mongo.spec
+++ b/php-pecl-mongo.spec
@@ -40,7 +40,7 @@ Obsoletes: php54-pecl-%{pecl_name}
Obsoletes: php55u-pecl-%{pecl_name}
%endif
-%if 0%{?fedora} < 20
+%if 0%{?fedora} < 20 && 0%{?rhel} < 7
# Filter private shared provides
%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$}
%{?filter_setup}