summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-12-29 09:35:50 +0100
committerRemi Collet <fedora@famillecollet.com>2016-12-29 09:35:50 +0100
commitce9c3993d3b25bec467ad42c10b56204e18c4e74 (patch)
tree1df2bd54b14164ec47cbe44e4bb110e95efabbf8
parent61cd6d3c98c0e96d5710d60ab4e972676a644f86 (diff)
php-pecl-igbinary: minor (2)
-rw-r--r--php-pecl-igbinary.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/php-pecl-igbinary.spec b/php-pecl-igbinary.spec
index 8a1f524..7f49cea 100644
--- a/php-pecl-igbinary.spec
+++ b/php-pecl-igbinary.spec
@@ -56,8 +56,8 @@ Provides: %{?scl_prefix}php-%{extname}%{?_isa} = %{version}
Provides: %{?scl_prefix}php-pecl(%{extname}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{extname})%{?_isa} = %{version}
%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{extname} = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{extname}%{?_isa} = %{version}-%{release}
%endif
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
@@ -108,9 +108,13 @@ Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{?scl_prefix}php-devel%{?_isa}
-Obsoletes: %{?scl_prefix}php-%{extname}-devel <= 1.1.1
-Provides: %{?scl_prefix}php-%{extname}-devel = %{version}-%{release}
-Provides: %{?scl_prefix}php-%{extname}-devel%{?_isa} = %{version}-%{release}
+Obsoletes: %{?scl_prefix}php-%{extname}-devel <= 1.1.1
+Provides: %{?scl_prefix}php-%{extname}-devel = %{version}-%{release}
+Provides: %{?scl_prefix}php-%{extname}-devel%{?_isa} = %{version}-%{release}
+%if "%{?scl_prefix}" != "%{?sub_prefix}"
+Provides: %{?scl_prefix}php-pecl-%{extname}-devel = %{version}-%{release}
+Provides: %{?scl_prefix}php-pecl-%{extname}-devel%{?_isa} = %{version}-%{release}
+%endif
%description devel
These are the files needed to compile programs using Igbinary