summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-cairo.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-pecl-cairo.spec b/php-pecl-cairo.spec
index 77228b2..81bd134 100644
--- a/php-pecl-cairo.spec
+++ b/php-pecl-cairo.spec
@@ -12,7 +12,7 @@
Name: php-pecl-cairo
Version: 0.3.2
-Release: 5%{?dist}
+Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
Summary: Cairo Graphics Library Extension
Group: Development/Languages
License: PHP