[yum/f19] don't BuildRequire bash-completion in rhel
Zdeněk Pavlas
zpavlas at fedoraproject.org
Thu Apr 11 12:49:06 UTC 2013
commit d115075ea64d32a169218006f5fa613deefc265e
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date: Thu Apr 11 14:48:21 2013 +0200
don't BuildRequire bash-completion in rhel
yum.spec | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/yum.spec b/yum.spec
index 85a0aa6..af3c914 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
@@ -64,7 +69,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 scm-commits
mailing list