��� ��������, ���������� �� �������� ������, ������������ ����������� ���������. ��������:
%{?macro_to_test: expression} |
�������� ������ ������� RPM ���������� �������� ���������, ���� macro_to_test ����������� � ����������. � ��������� ������ ������ ������������. ���� ����� ������������� �������, ����� ������� �������� ��������������� ����:
%{!?macro_to_test: expression} |
� ������ ������� ���� macro_to_test �� ����������, ����� ��������������� ���������.
��� ��������� �������� ������������ ������ %if. ��������:
%if %{old_5x} |
%else ��������� ��������������� ��������, ������� ���������� ���������, ���� ���� ��� ����������. ��������:
%if %{old_5x} |
����� ����� ����� ���� ����������� ��������������� ���� ��� �������� �������.
if ! %{old_5x} |
��� ���������� ���������� ������ ������������ && :
%if %{old_5x} && %{old_6x} |
����� - ���������� �������
����� - ������� ����������� ����������
����������