Commit 1e342b45 authored by Jonathan Perkin's avatar Jonathan Perkin

Conditionalise defined/undefined.

parent 720298cb
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment