[tor-commits] [arm/packaging] Adding python 2.5 and hashlib dependency for rpm
atagar at torproject.org
atagar at torproject.org
Wed Nov 2 16:00:09 UTC 2011
commit e0b4488f2f9bbe592bf1d82fef72ccb2a9b390dc
Author: Damian Johnson <atagar at torproject.org>
Date: Wed Nov 2 08:55:04 2011 -0700
Adding python 2.5 and hashlib dependency for rpm
CentOS and RHEL5 come with python 2.4 so adding a requirement on 2.5 to avoid
nasty surprises. Caught by Juan Orti Alcaine and unSpawn.
---
build/redhat/make-rpm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/build/redhat/make-rpm b/build/redhat/make-rpm
index 0e8cae1..0176f0b 100755
--- a/build/redhat/make-rpm
+++ b/build/redhat/make-rpm
@@ -1,6 +1,6 @@
#!/bin/sh
cp redhat/MANIFEST ./
-python setup.py bdist_rpm
+python setup.py bdist_rpm --requires="python-2.5, python-hashlib"
# cleans up after rpm build
files="build MANIFEST"
More information about the tor-commits
mailing list