summaryrefslogtreecommitdiffstats
path: root/php-pecl-http-php7.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-http-php7.spec')
-rw-r--r--php-pecl-http-php7.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/php-pecl-http-php7.spec b/php-pecl-http-php7.spec
index 6d2f671..5a43b40 100644
--- a/php-pecl-http-php7.spec
+++ b/php-pecl-http-php7.spec
@@ -170,8 +170,10 @@ Obsoletes: %{?scl_prefix}php-pecl-http1-devel < 2
# Can't install both versions of the same extension
Conflicts: %{?scl_prefix}php-pecl-http1-devel
%endif
+%if "%{?scl_prefix}" != "%{?sub_prefix}"
Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel = %{version}%{?prever}
Provides: %{?scl_prefix}php-pecl-%{pecl_name}-devel%{?_isa} = %{version}%{?prever}
+%endif
%description devel
These are the files needed to compile programs using HTTP extension.