don't list grub-mkconfig_lib twice

/usr/share/grub/ was also listed an extra time if efi was disabled.
This commit is contained in:
Mads Kiilerich 2012-04-05 02:19:01 +02:00 committed by Peter Jones
parent f16c2cd275
commit 4f57b17a98

View File

@ -287,7 +287,7 @@ fi
%defattr(-,root,root,-) %defattr(-,root,root,-)
/etc/bash_completion.d/grub /etc/bash_completion.d/grub
%{_libdir}/grub/*-%{platform}/ %{_libdir}/grub/*-%{platform}/
%{_datarootdir}/grub/grub-mkconfig_lib %{_datarootdir}/grub/
/sbin/%{name}-mkconfig /sbin/%{name}-mkconfig
/sbin/%{name}-mknetdir /sbin/%{name}-mknetdir
/sbin/%{name}-install /sbin/%{name}-install
@ -330,7 +330,6 @@ fi
%doc grub-%{tarversion}/ChangeLog grub-%{tarversion}/README.Fedora %doc grub-%{tarversion}/ChangeLog grub-%{tarversion}/README.Fedora
%exclude %{_mandir} %exclude %{_mandir}
%{_infodir}/grub2* %{_infodir}/grub2*
%attr(0755,root,root)/%{_datarootdir}/grub/
%ifarch %{efi} %ifarch %{efi}
%files efi %files efi
@ -338,7 +337,7 @@ fi
%attr(0755,root,root)/boot/efi/EFI/redhat %attr(0755,root,root)/boot/efi/EFI/redhat
/etc/bash_completion.d/grub-efi /etc/bash_completion.d/grub-efi
%{_libdir}/grub/%{_arch}-efi %{_libdir}/grub/%{_arch}-efi
%{_datarootdir}/grub/grub-mkconfig_lib %{_datarootdir}/grub/
/sbin/grub2-efi-mkconfig /sbin/grub2-efi-mkconfig
/sbin/grub2-efi-mknetdir /sbin/grub2-efi-mknetdir
/sbin/grub2-efi-install /sbin/grub2-efi-install
@ -381,7 +380,6 @@ fi
%exclude %{_mandir} %exclude %{_mandir}
%{_infodir}/grub2* %{_infodir}/grub2*
%endif %endif
%attr(0755,root,root)/%{_datarootdir}/grub/
%changelog %changelog
* Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21 * Thu Mar 29 2012 Peter Jones <pjones@redhat.com> - 2.0-0.21