diff --git a/xCAT-buildkit/xCAT-buildkit.spec b/xCAT-buildkit/xCAT-buildkit.spec index 4bc6d948b1..af2cc19bf6 100644 --- a/xCAT-buildkit/xCAT-buildkit.spec +++ b/xCAT-buildkit/xCAT-buildkit.spec @@ -15,6 +15,10 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root # Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html %if !0%{?suse_version} BuildRequires: perl-Pod-Html +%else +# openSUSE installs only perl-base in a build root, and perl-base does not ship pod2man, +# which xpod2man runs to build the man pages. The full perl package carries it. +BuildRequires: perl %endif #%ifnos linux diff --git a/xCAT-client/xCAT-client.spec b/xCAT-client/xCAT-client.spec index 2f6b71e288..f8a284af03 100644 --- a/xCAT-client/xCAT-client.spec +++ b/xCAT-client/xCAT-client.spec @@ -22,6 +22,10 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root # Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html %if !0%{?suse_version} BuildRequires: perl-Pod-Html +%else +# openSUSE installs only perl-base in a build root, and perl-base does not ship pod2man, +# which xpod2man runs to build the man pages. The full perl package carries it. +BuildRequires: perl %endif # AIX will build with an arch of "ppc" diff --git a/xCAT-test/xCAT-test.spec b/xCAT-test/xCAT-test.spec index 6c1d859820..cc64764e2f 100644 --- a/xCAT-test/xCAT-test.spec +++ b/xCAT-test/xCAT-test.spec @@ -14,6 +14,10 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root # Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html %if !0%{?suse_version} BuildRequires: perl-Pod-Html +%else +# openSUSE installs only perl-base in a build root, and perl-base does not ship pod2man, +# which xpod2man runs to build the man pages. The full perl package carries it. +BuildRequires: perl %endif # AIX will build with an arch of "ppc" diff --git a/xCAT-vlan/xCAT-vlan.spec b/xCAT-vlan/xCAT-vlan.spec index 883f714d18..9d0aa3d61d 100644 --- a/xCAT-vlan/xCAT-vlan.spec +++ b/xCAT-vlan/xCAT-vlan.spec @@ -14,6 +14,10 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root # Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html %if !0%{?suse_version} BuildRequires: perl-Pod-Html +%else +# openSUSE installs only perl-base in a build root, and perl-base does not ship pod2man, +# which xpod2man runs to build the man pages. The full perl package carries it. +BuildRequires: perl %endif %ifos linux