summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-imagick.spec11
1 files changed, 3 insertions, 8 deletions
diff --git a/php-pecl-imagick.spec b/php-pecl-imagick.spec
index 2f0cfbe..c44b149 100644
--- a/php-pecl-imagick.spec
+++ b/php-pecl-imagick.spec
@@ -19,13 +19,12 @@
%undefine _strict_symbol_defs_build
%if 0%{?scl:1}
-%global sub_prefix %{scl_prefix}
%scl_package php-pecl-imagick
%endif
%global gh_commit 623a3ac0386c93d62c60cbfe610505f2e35780f3
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
-%global gh_owner mkoppanen
+%global gh_owner imagick
%global gh_project imagick
#global gh_date 20151204
%global pecl_name imagick
@@ -40,10 +39,10 @@
%if %{with im7}
Summary: Extension to create and modify images using ImageMagick 7
-Name: %{?sub_prefix}php-pecl-imagick-im7
+Name: %{?scl_prefix}php-pecl-imagick-im7
%else
Summary: Extension to create and modify images using ImageMagick 6
-Name: %{?sub_prefix}php-pecl-imagick-im6
+Name: %{?scl_prefix}php-pecl-imagick-im6
%endif
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
%if 0%{?gh_date}
@@ -79,10 +78,6 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version}%{?preve
Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version}%{?prever}
Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}%{?prever}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}%{?prever}
-%if "%{?scl_prefix}" != "%{?sub_prefix}"
-Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release}
-Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release}
-%endif
Conflicts: %{?scl_prefix}php-pecl-gmagick
%if %{with im7}