summaryrefslogtreecommitdiffstats
path: root/php-pecl-gmagick.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-29 18:43:54 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-29 18:43:54 +0100
commit98c009177f3de1edb0a22a3de3c530f913f48ef5 (patch)
tree98e771bbe36167ee12796bb6c12ab70c55d3023d /php-pecl-gmagick.spec
parentb4db33a814942ebb7535f1124d2fbed8bcccf876 (diff)
php-pecl-gmagick: 2.0.0RC1 (php 7, beta)
Diffstat (limited to 'php-pecl-gmagick.spec')
-rw-r--r--php-pecl-gmagick.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/php-pecl-gmagick.spec b/php-pecl-gmagick.spec
index e13b4ae..d34c269 100644
--- a/php-pecl-gmagick.spec
+++ b/php-pecl-gmagick.spec
@@ -19,7 +19,7 @@
Summary: Provides a wrapper to the GraphicsMagick library
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.1.7
-Release: 0.6.%{prever}%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 0.6.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
Group: Development/Libraries
URL: http://pecl.php.net/package/%{pecl_name}
@@ -73,7 +73,7 @@ Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%{pecl_name} is a php extension to create, modify and obtain meta information
of images using the GraphicsMagick API.
-Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection}.
+Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}.
%prep
@@ -192,6 +192,7 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so"
%files
%defattr(-,root,root,-)
+%{?_licensedir:%license NTS/LICENSE}
%doc %{pecl_docdir}/%{pecl_name}
%{pecl_xmldir}/%{name}.xml