RHEL: Unnecessary to delete input-xen and output-ovirt man pages

Since RHEL is compiled with_xen == 0 && with_ovirt == 0, the project
should not generate these files, so deleting them should not be
necessary.

(cherry picked from Fedora commit 030036337929546c950207af6775c960eb660c91)

Related: RHEL-111241
This commit is contained in:
Richard W.M. Jones 2025-09-01 09:39:16 +01:00
parent b75d10f0d5
commit 7bf384bc0d

View File

@ -283,9 +283,6 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
mv $RPM_BUILD_ROOT%{_bindir}/virt-v2v-in-place $RPM_BUILD_ROOT%{_libexecdir}/
rm $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-in-place.1*
# these are also not supported on RHEL
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-input-xen.1*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/virt-v2v-output-ovirt.1*
%endif
# Find locale files.