diff options
author | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-04-12 14:39:42 +0200 |
---|---|---|
committer | Jonathan Perkin <jonathan.perkin@oracle.com> | 2010-04-12 14:39:42 +0200 |
commit | 0677f7049f06a29c117a64e2bea6f42d5636fc05 (patch) | |
tree | 3496cfd24cd0f8d1847dc37f624a6fdbf945371f /support-files | |
parent | a733d1973a691a05a345732bb71380ef5d7f47a3 (diff) | |
download | mariadb-git-0677f7049f06a29c117a64e2bea6f42d5636fc05.tar.gz |
Conditionalise defined/undefined.
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/mysql.spec.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index 69016848efb..6c7960ad06f 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -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 |