1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Conditionalise defined/undefined.

This commit is contained in:
Jonathan Perkin
2010-04-12 14:39:42 +02:00
parent a733d1973a
commit 0677f7049f

View File

@@ -34,8 +34,10 @@
%define release 1
# Macros we use which are not available in all versions of RPM
%if 0%{defined expand}
%defined() %{expand:%%{?%{1}:1}%%{!?%{1}:0}}
%undefined() %{expand:%%{?%{1}:0}%%{!?%{1}:1}}
%endif
# ----------------------------------------------------------------------------
# RPM build tools now automatically detect Perl module dependencies. This