don't list grub-mkconfig_lib twice

/usr/share/grub/ was also listed an extra time if efi was disabled.

(Fix merge error on previous patch with same changelog)
This commit is contained in:
Mads Kiilerich 2012-04-05 02:19:01 +02:00 committed by Peter Jones
parent 0fdb59b0d1
commit caaeb9f460

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/
%{_sbindir}/%{name}-mkconfig %{_sbindir}/%{name}-mkconfig
%{_sbindir}/%{name}-mknetdir %{_sbindir}/%{name}-mknetdir
%{_sbindir}/%{name}-install %{_sbindir}/%{name}-install
@ -337,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/
%{_sbindir}/grub2-efi-mkconfig %{_sbindir}/grub2-efi-mkconfig
%{_sbindir}/grub2-efi-mknetdir %{_sbindir}/grub2-efi-mknetdir
%{_sbindir}/grub2-efi-install %{_sbindir}/grub2-efi-install