Author: glen                         Date: Mon Oct 17 08:51:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add bash-completion package

---- Files affected:
packages/grub2:
   grub2.spec (1.113 -> 1.114) 

---- Diffs:

================================================================
Index: packages/grub2/grub2.spec
diff -u packages/grub2/grub2.spec:1.113 packages/grub2/grub2.spec:1.114
--- packages/grub2/grub2.spec:1.113     Mon Oct 17 10:47:35 2011
+++ packages/grub2/grub2.spec   Mon Oct 17 10:51:13 2011
@@ -72,11 +72,11 @@
 BuildRequires: gcc-multilib
 %endif
 %endif
-BuildRequires: ncurses-devel
-BuildRequires: sed >= 4.0
 BuildRequires: glibc-static
+BuildRequires: ncurses-devel
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpmbuild(macros) >= 1.213
+BuildRequires: sed >= 4.0
 Requires:      which
 Suggests:      cdrkit-mkisofs
 Suggests:      os-prober
@@ -177,6 +177,18 @@
 O GRUB pode ser uma boa alternativa ao LILO, para usuários mais
 avançados e que querem mais recursos de seu boot loader.
 
+%package -n bash-completion-%{name}
+Summary:       bash-completion for GRUB
+Summary(pl.UTF-8):     bashowe uzupełnianie nazw dla GRUB
+Group:         Applications/Shells
+Requires:      bash-completion
+
+%description -n bash-completion-%{name}
+This package provides bash-completion for GRUB.
+
+%description -n bash-completion-%{name} -l pl.UTF-8
+Pakiet ten dostarcza bashowe uzupełnianie nazw dla GRUB.
+
 %prep
 %setup -q -n grub-%{version}
 %patch0 -p1
@@ -246,7 +258,7 @@
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
 # deprecated. we don't need it
-rm $RPM_BUILD_ROOT/boot/grub/update-grub_lib
+%{__rm} $RPM_BUILD_ROOT%{_libexecdir}/update-grub_lib
 
 # core.img - bootable image generated by grub-mkimage(1) via grub-install(1)
 touch $RPM_BUILD_ROOT%{_libexecdir}/core.img
@@ -330,6 +342,7 @@
 
 %dir %{_libexecdir}
 # XXX: check this locale dir location and if it is neccesaary to exist on /boot
+
 %dir %{_libexecdir}/locale
 %config(noreplace) %verify(not md5 mtime size) %{_libexecdir}/grub.cfg
 %config(noreplace) %verify(not md5 mtime size) %{_libexecdir}/custom.cfg
@@ -377,12 +390,19 @@
 
 %{_infodir}/grub*.info*
 
+%files -n bash-completion-%{name}
+%defattr(644,root,root,755)
+/etc/bash_completion.d/grub
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[email protected]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.114  2011/10/17 08:51:13  glen
+- add bash-completion package
+
 Revision 1.113  2011/10/17 08:47:35  glen
 - package /boot/grub/custom.cfg - file appended to generated grub.cfg
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/grub2/grub2.spec?r1=1.113&r2=1.114&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to