From b5acf881d8836a18f782c29470477ccfeb6eb0d2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Aug 2012 14:04:57 +0200 Subject: php 5.3.16: define %{php_version} --- macros.php | 1 + php53.spec | 2 ++ 2 files changed, 3 insertions(+) diff --git a/macros.php b/macros.php index 8900aba..784d601 100644 --- a/macros.php +++ b/macros.php @@ -4,6 +4,7 @@ %php_core_api @PHP_APIVER@ %php_zend_api @PHP_ZENDVER@ %php_pdo_api @PHP_PDOVER@ +%php_version @PHP_VERSION@ %php_extdir %{_libdir}/php/modules %php_ztsextdir %{_libdir}/php-zts/modules diff --git a/php53.spec b/php53.spec index 72ad17c..117da11 100644 --- a/php53.spec +++ b/php53.spec @@ -1314,6 +1314,7 @@ install -d $RPM_BUILD_ROOT%{_origsysconfdir}/rpm sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ -e "s/@PHP_ZENDVER@/%{zendver}%{isasuffix}/" \ -e "s/@PHP_PDOVER@/%{pdover}%{isasuffix}/" \ + -e "s/@PHP_VERSION@/%{version}/" \ -e "s/@PHPNAME@/%{phpname}/" \ < %{SOURCE3} > macros.php install -m 644 -c macros.php \ @@ -1488,6 +1489,7 @@ fi %changelog * Thu Aug 16 2012 Remi Collet 5.3.16-1 - update to 5.3.16 +- define %%{php_version} * Fri Jul 20 2012 Remi Collet 5.3.15-1 - update to 5.3.15 (CVE-2012-2688) -- cgit