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