]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
1.650: add php_name and php_suffix macros for building versioned php packages
authorElan Ruusamäe <glen@delfi.ee>
Thu, 2 Aug 2012 19:44:28 +0000 (22:44 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 2 Aug 2012 19:44:28 +0000 (22:44 +0300)
rpm-build-macros.spec
rpm.macros

index 9f150b04e487124e82e71e8a43177c8b3cf16bd7..a2c294c26da8641cbc9f1874bf0cb9a2ab6fa223 100644 (file)
@@ -1,10 +1,10 @@
-%define                rpm_macros_rev  1.649
+%define                rpm_macros_rev  1.650
 %define                find_lang_rev   1.35
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
 Name:          rpm-build-macros
 Version:       %{rpm_macros_rev}
-Release:       2
+Release:       1
 License:       GPL
 Group:         Development/Building
 Source0:       rpm.macros
index 86a5e2c67d8b0b7e0cd945fefc5cb726147a3225..0792417f355f2f9d2b7be45852e738c32a347ee7 100644 (file)
@@ -897,6 +897,11 @@ fi; \
 # "_ts" if ZTS enabled, empty otherwise
 %zend_zts                              %{expand:%%global _zend_zts_%{?_zend_zts} 1}%{?_zend_zts_1:_ts}
 
+# name of php package
+%php_name                              php%{?php_suffix}
+# use rpmbuild -D 'php_suffix 54' to build php extension for php 5.4
+%php_suffix                            %{nil}
+
 # helper macro
 %__php_api_requires(v:) Requires: php%{-v*}(%{expand:%1}) = %{expand:%{%{!?2:%{1}}%{?2}}}
 
This page took 0.094603 seconds and 4 git commands to generate.