diff options
Diffstat (limited to 'php-pecl-couchbase2.spec')
-rw-r--r-- | php-pecl-couchbase2.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/php-pecl-couchbase2.spec b/php-pecl-couchbase2.spec index 25d664c..efaadab 100644 --- a/php-pecl-couchbase2.spec +++ b/php-pecl-couchbase2.spec @@ -52,8 +52,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name}2 = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}2%{?_isa} = %{version}-%{release} +%endif # Only 1 version can be installed Conflicts: %{?scl_prefix}php-pecl-couchbase < 2 |