]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- introduce php_minor_version version auto/th/rpm-build-macros-1_532-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 3 Feb 2010 12:42:28 +0000 (12:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm-build-macros.spec -> 1.230
    rpm.macros -> 1.532

rpm-build-macros.spec
rpm.macros

index 3081dbc53fc28b2b91ea4f6bab075cc8b580c3a7..879d9386a9416082fd36ba2b8807ab384ffe2a7b 100644 (file)
@@ -1,4 +1,4 @@
-%define                rpm_macros_rev  1.531
+%define                rpm_macros_rev  1.532
 %define                find_lang_rev   1.32
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
index 9240350af5ef68e2abba7c13ad847dc110da9503..3fae9a8ce989b17ca014d7d8483dc53f18eda2b3 100644 (file)
@@ -751,6 +751,7 @@ fi; \
 
 # extract php/zend api versions
 %php_major_version             %{expand:%%global php_major_version %(awk '/#define PHP_MAJOR_VERSION/{print $3}' %{php_includedir}/main/php_version.h 2>/dev/null || echo ERROR)}%php_major_version
+%php_minor_version             %{expand:%%global php_minor_version %(awk '/#define PHP_MINOR_VERSION/{print $3}' %{php_includedir}/main/php_version.h 2>/dev/null || echo ERROR)}%php_minor_version
 %php_api_version               %{expand:%%global php_api_version %(awk '/#define PHP_API_VERSION/{print $3}' %{php_includedir}/main/php.h 2>/dev/null || echo ERROR)}%php_api_version
 %php_pdo_api_version   %{expand:%%global php_pdo_api_version %(awk '/#define PDO_DRIVER_API/{print $3}' %{php_includedir}/ext/pdo/php_pdo_driver.h 2>/dev/null || echo ERROR)}%php_pdo_api_version
 %php_debug                             %{expand:%%global php_debug %(awk '/#define ZEND_DEBUG/{print $3}' %{php_includedir}/main/php_config.h 2>/dev/null || echo ERROR)}%php_debug
This page took 0.055589 seconds and 4 git commands to generate.