提交 0c3d8bb5 编写于 作者: D Daniel P. Berrange

rpm: conditionalize dep on perl for perl-interpretor split in F27

Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
上级 1be213e2
......@@ -292,7 +292,11 @@ BuildRequires: libtool
BuildRequires: /usr/bin/pod2man
%endif
BuildRequires: git
%if 0%{?fedora} >= 27
BuildRequires: perl-interpreter
%else
BuildRequires: perl
%endif
BuildRequires: python
%if %{with_systemd}
BuildRequires: systemd-units
......
......@@ -61,7 +61,11 @@ BuildRequires: pkgconfig
# Need native version for msgfmt
BuildRequires: gettext
BuildRequires: python
%if 0%{?fedora} >= 27
BuildRequires: perl-interpreter
%else
BuildRequires: perl
%endif
BuildRequires: perl(Getopt::Long)
%if 0%{?enable_autotools}
BuildRequires: autoconf
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册