[s3cmd/infrastructure] adjust python2-devel for F16 and el7
Matt Domsch
mdomsch at fedoraproject.org
Fri Mar 9 19:23:35 UTC 2012
commit b0f3291f96f109670036c02f66d37bd8934e3ff6
Author: Matt Domsch <Matt_Domsch at dell.com>
Date: Fri Mar 9 13:23:18 2012 -0600
adjust python2-devel for F16 and el7
s3cmd.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/s3cmd.spec b/s3cmd.spec
index ff8ad04..af12566 100644
--- a/s3cmd.spec
+++ b/s3cmd.spec
@@ -15,7 +15,11 @@ Source0: s3cmd-1.1.0-beta3-2dfe4a65.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+%if %{!?fedora:16}%{?fedora} < 16 || %{!?rhel:7}%{?rhel} < 7
+BuildRequires: python-devel
+%else
BuildRequires: python2-devel
+%endif
%if %{!?fedora:8}%{?fedora} < 8 || %{!?rhel:6}%{?rhel} < 6
# This is in standard library since 2.5
Requires: python-elementtree
More information about the scm-commits
mailing list