diff --git a/xCAT-OpenStack-baremetal/xCAT-OpenStack-baremetal.spec b/xCAT-OpenStack-baremetal/xCAT-OpenStack-baremetal.spec index 71fa9b96b7..23dc05a17b 100644 --- a/xCAT-OpenStack-baremetal/xCAT-OpenStack-baremetal.spec +++ b/xCAT-OpenStack-baremetal/xCAT-OpenStack-baremetal.spec @@ -20,8 +20,12 @@ BuildArch: noarch Provides: xCAT-OpenStack-baremetal = %{epoch}:%{version} Requires: xCAT-client -# Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html -%if !0%{?suse_version} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif diff --git a/xCAT-SoftLayer/xCAT-SoftLayer.spec b/xCAT-SoftLayer/xCAT-SoftLayer.spec index a2355ddba8..3ccb508e40 100644 --- a/xCAT-SoftLayer/xCAT-SoftLayer.spec +++ b/xCAT-SoftLayer/xCAT-SoftLayer.spec @@ -15,8 +15,12 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root BuildArch: noarch %endif Requires: xCAT-server -# Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html -%if !0%{?suse_version} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif diff --git a/xCAT-buildkit/xCAT-buildkit.spec b/xCAT-buildkit/xCAT-buildkit.spec index 4bc6d948b1..f9ce2778d2 100644 --- a/xCAT-buildkit/xCAT-buildkit.spec +++ b/xCAT-buildkit/xCAT-buildkit.spec @@ -12,8 +12,12 @@ Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Prefix: /opt/xcat 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} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif diff --git a/xCAT-client/xCAT-client.spec b/xCAT-client/xCAT-client.spec index 2f6b71e288..aca7ac08a8 100644 --- a/xCAT-client/xCAT-client.spec +++ b/xCAT-client/xCAT-client.spec @@ -19,8 +19,12 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root %define s390x %(if [ "$s390x" = "1" ];then echo 1; else echo 0; fi) %define nots390x %(if [ "$s390x" = "1" ];then echo 0; else echo 1; fi) -# Pod::Html ships inside the core perl package on SUSE; there is no perl-Pod-Html -%if !0%{?suse_version} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif diff --git a/xCAT-test/xCAT-test.spec b/xCAT-test/xCAT-test.spec index 6c1d859820..b4a8d849f9 100644 --- a/xCAT-test/xCAT-test.spec +++ b/xCAT-test/xCAT-test.spec @@ -11,8 +11,12 @@ Vendor: IBM Corp. Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Prefix: /opt/xcat 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} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif diff --git a/xCAT-vlan/xCAT-vlan.spec b/xCAT-vlan/xCAT-vlan.spec index 883f714d18..d621737f5a 100644 --- a/xCAT-vlan/xCAT-vlan.spec +++ b/xCAT-vlan/xCAT-vlan.spec @@ -11,8 +11,12 @@ Vendor: IBM Corp. Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Prefix: /opt/xcat 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} +# The pod converters are in perl-Pod-Html on EL and in the core perl package on +# SUSE, which has no perl-Pod-Html. A SUSE chroot holds perl-base only, and that +# ships neither Pod::Man nor pod2man. +%if 0%{?suse_version} +BuildRequires: perl +%else BuildRequires: perl-Pod-Html %endif