[yum-commits] yum.spec

zpavlas at osuosl.org zpavlas at osuosl.org
Fri Apr 12 07:12:28 UTC 2013


 yum.spec |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit f6909b6209919181d13ca04e1b8048bcd4dcb05d
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Thu Apr 11 14:40:41 2013 +0200

    don't BuildRequire bash-completion in rhel

diff --git a/yum.spec b/yum.spec
index 294eb96..08ff68e 100644
--- a/yum.spec
+++ b/yum.spec
@@ -9,6 +9,11 @@
 %define yum_cron_systemd 0
 %endif
 
+%if ! 0%{?rhel}
+# we don't have this in rhel yet...
+BuildRequires: bash-completion
+%endif
+
 %if 0%{?fedora} <= 18
 # yum in Fedora <= 18 doesn't use systemd unit files...
 %define yum_cron_systemd 0
@@ -54,7 +59,6 @@ BuildRequires: python-sqlite
 BuildRequires: python-urlgrabber >= 3.9.0-8
 BuildRequires: yum-metadata-parser >= 1.1.0
 BuildRequires: pygpgme
-BuildRequires: bash-completion
 # End of CheckRequires
 Conflicts: pirut < 1.1.4
 Requires: python >= 2.4


More information about the Yum-commits mailing list