提交 4ddb4bb8 编写于 作者: J Jiri Denemark

spec: Delay supported_platform check

Building RPM should only be allowed on a supported platform, but
unpacking the source and applying all patches can be done anywhere.
Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
上级 b9163679
......@@ -1091,10 +1091,6 @@ Libvirt plugin for NSS for translating domain names into IP addresses.
%prep
%if ! %{supported_platform}
echo "This RPM requires either Fedora >= 20 or RHEL >= 6"
exit 1
%endif
%setup -q
......@@ -1135,6 +1131,11 @@ rm -f $PATCHLIST
rm -rf .git
%build
%if ! %{supported_platform}
echo "This RPM requires either Fedora >= 20 or RHEL >= 6"
exit 1
%endif
%if %{with_xen}
%define arg_xen --with-xen
%else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册