[yum/f19] move bash-completion scripts to /usr/share/ BZ 922992

Zdeněk Pavlas zpavlas at fedoraproject.org
Tue Mar 19 09:20:49 UTC 2013


commit 250a42007263097a66183a7e5e6c7723fc8b98f5
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Tue Mar 19 10:20:32 2013 +0100

    move bash-completion scripts to /usr/share/  BZ 922992

 yum-HEAD.patch |   32 ++++++++++++++++++++++++++++++++
 yum.spec       |    7 +++++--
 2 files changed, 37 insertions(+), 2 deletions(-)
---
diff --git a/yum-HEAD.patch b/yum-HEAD.patch
index 137fb99..61f9f3c 100644
--- a/yum-HEAD.patch
+++ b/yum-HEAD.patch
@@ -199670,3 +199670,35 @@ index 9f79f4f..ac94f65 100755
      errcode = None
      if 'YUM_PROF' in os.environ:
          if os.environ['YUM_PROF'] == 'cprof':
+commit d6105ccda325184b21c0c95af75f11a42b039940
+Author: Zdenek Pavlas <zpavlas at redhat.com>
+Date:   Tue Mar 19 09:51:43 2013 +0100
+
+    move bash-completion scripts to /usr/share/  BZ 922992
+
+diff --git a/etc/Makefile b/etc/Makefile
+index ec5af83..f501389 100644
+--- a/etc/Makefile
++++ b/etc/Makefile
+@@ -25,6 +25,6 @@ install:
+ 	mkdir -p $(DESTDIR)/etc/dbus-1/system.d/
+ 	install -m 755 yum-updatesd-dbus.conf $(DESTDIR)/etc/dbus-1/system.d/yum-updatesd.conf
+ 	install -m 644 yum-updatesd.conf $(YUMETC)
+-	mkdir -p $(DESTDIR)/etc/bash_completion.d
+-	install -m 644 yum.bash $(DESTDIR)/etc/bash_completion.d
++	mkdir -p $(DESTDIR)/usr/share/bash-completion/completions
++	install -m 644 yum.bash $(DESTDIR)/usr/share/bash-completion/completions/yum
+ 	install -m 644 yum-cron.conf $(YUMETC)
+diff --git a/yum.spec b/yum.spec
+index ff672de..2b8df07 100644
+--- a/yum.spec
++++ b/yum.spec
+@@ -321,7 +321,7 @@ exit 0
+ %dir %{_sysconfdir}/yum/protected.d
+ %dir %{_sysconfdir}/yum/vars
+ %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+-%{_sysconfdir}/bash_completion.d
++%{_datadir}/bash-completion/completions/yum
+ %dir %{_datadir}/yum-cli
+ %{_datadir}/yum-cli/*
+ %exclude %{_datadir}/yum-cli/completion-helper.py?
diff --git a/yum.spec b/yum.spec
index 658a4b1..e8c8345 100644
--- a/yum.spec
+++ b/yum.spec
@@ -29,7 +29,7 @@
 Summary: RPM package installer/updater/manager
 Name: yum
 Version: 3.4.3
-Release: 76%{?dist}
+Release: 77%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
@@ -337,7 +337,7 @@ exit 0
 %dir %{_sysconfdir}/yum/protected.d
 %dir %{_sysconfdir}/yum/vars
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
-%{_sysconfdir}/bash_completion.d
+%{_datadir}/bash-completion/completions/yum
 %dir %{_datadir}/yum-cli
 %{_datadir}/yum-cli/*
 %exclude %{_datadir}/yum-cli/completion-helper.py?
@@ -385,6 +385,9 @@ exit 0
 %endif
 
 %changelog
+* Tue Mar 19 2013 Zdenek Pavlas <zpavlas at redhat.com> - 3.4.3-77
+- move bash-completion scripts to /usr/share/  BZ 922992
+
 * Tue Mar 12 2013 James Antill <james at fedoraproject.org> - 3.4.3-76
 - Change groups_command default to objects.
 - update to latest HEAD.


More information about the scm-commits mailing list