[glances] Add specific version of python for el5
madko
madko at fedoraproject.org
Mon Feb 13 13:24:23 UTC 2012
commit fc3492cbd5d572615da5fe840aba2f17e1de02fa
Author: Edouard Bourguignon <madko at fedoraproject.org>
Date: Mon Feb 13 14:23:57 2012 +0100
Add specific version of python for el5
glances.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/glances.spec b/glances.spec
index 7a3e052..d04460e 100644
--- a/glances.spec
+++ b/glances.spec
@@ -1,6 +1,6 @@
Name: glances
Version: 1.3.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: CLI curses based monitoring tool
Group: Applications/System
@@ -11,7 +11,11 @@ BuildArch: noarch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: automake
+%if 0%{?el5}
+BuildRequires: python26-devel
+%else
BuildRequires: python-devel
+%endif
Requires: pystatgrab >= 0.5
%description
@@ -49,6 +53,9 @@ rm -rf %{buildroot}
%{_datadir}/man/man1/glances.1.gz
%changelog
+* Mon Feb 13 2012 Edouard Bourguignon <madko at linuxed.net> - 1.3.7-2
+- Add version for python
+
* Thu Feb 2 2012 Edouard Bourguignon <madko at linuxed.net> - 1.3.7-1
- Upgrade to version 1.3.7
More information about the scm-commits
mailing list