diff --git a/perl-xCAT-2.0/perl-xCAT.spec b/perl-xCAT-2.0/perl-xCAT.spec index 66d2d042c..110469d77 100644 --- a/perl-xCAT-2.0/perl-xCAT.spec +++ b/perl-xCAT-2.0/perl-xCAT.spec @@ -52,8 +52,13 @@ cp -r xCAT/* $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/ chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/* chmod 644 $RPM_BUILD_ROOT/%{prefix}/lib/perl/xCAT/data/* +%ifos linux cp xCAT2.0.doc $RPM_BUILD_ROOT/%{prefix}/share/doc cp xCAT2.0.pdf $RPM_BUILD_ROOT/%{prefix}/share/doc +%else +cp xCAT2onAIX.doc $RPM_BUILD_ROOT/%{prefix}/share/doc +cp xCAT2onAIX.pdf $RPM_BUILD_ROOT/%{prefix}/share/doc +%endif chmod 644 $RPM_BUILD_ROOT/%{prefix}/share/doc/* cp LICENSE.html $RPM_BUILD_ROOT/%{prefix}/share/doc/packages/perl-xCAT