[bzr/f19] Add condition not to include python-paramiko in RHEL7 and above
Ondrej Oprala
ooprala at fedoraproject.org
Thu Apr 25 14:53:41 UTC 2013
commit a49cda95c3ac129d2b793b8d136605663f032a93
Author: Ondrej Oprala <ooprala at redhat.com>
Date: Thu Apr 25 16:48:33 2013 +0200
Add condition not to include python-paramiko in RHEL7 and above
bzr.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/bzr.spec b/bzr.spec
index 9d13548..8044a08 100644
--- a/bzr.spec
+++ b/bzr.spec
@@ -13,7 +13,7 @@
%global bzrmajor 2.5
%global bzrminor .1
#global bzrrc b6
-%global release 4
+%global release 5
Name: bzr
Version: %{bzrmajor}%{?bzrminor}
@@ -35,7 +35,9 @@ BuildRequires: python-sphinx
# We're using an old version of Pyrex, use the pregenerated C files instead
# of rebuilding
#BuildRequires: Pyrex
+%if 0%{?rhel} && 0%{?rhel} <= 6
Requires: python-paramiko
+%endif
# Workaround Bug #230223 otherwise this would be a soft dependency
Requires: python-pycurl
# ElementTree is part of python2.5 so only needed for EL-5
@@ -137,6 +139,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_defaultdocdir}/%{name}-doc-%{version}/*
%changelog
+* Thu Apr 25 2013 Ondrej Oprala <ooprala at redhat.com - 2.5.1-5
+- Add condition not to include python-paramiko in RHEL7 and above
+
* Thu Apr 25 2013 Ondrej Oprala <ooprala at redhat.com - 2.5.1-4
- Fix unpackaged files error
More information about the scm-commits
mailing list