platform.in: Remove obsolete %php_version and %php_release

Signed-off-by: Alexey Gladkov <legion@altlinux.org>
This commit is contained in:
Alexey Gladkov 2008-11-14 13:45:05 +03:00 committed by Dmitry V. Levin
parent 3d53b58d08
commit 4eecafff33

View File

@ -621,10 +621,6 @@
@alt@%get_dep() %(rpmquery --qf '%%{NAME} >= %%|SERIAL?{%%{SERIAL}:}|%%{VERSION}-%%{RELEASE}' %1 2>/dev/null || echo '%1 >= unknown')
@alt@%rpm_check_field(p:) %(foo=`rpmquery --qf '%%{%1}' %{-p:%{-p*}} 2>/dev/null`; [ "`expr '$foo' '>' '%2'`" -eq 1 ] && echo -n "$foo" || echo -n "%2")
@alt@
@alt@# Define php_version and php_release to version and release no less than specified one via -n option
@alt@%php_version(n:) %rpm_check_field -p php VERSION %{-n:%{-n*}}
@alt@%php_release(n:) %rpm_check_field -p php RELEASE %{-n:%{-n*}}
@alt@
@alt@## compiler optflags defaults
@alt@
@alt@# core flags