From 47388d20eb41185df7875aa7d65794a3dfb6c2ab Mon Sep 17 00:00:00 2001 From: f3flight Date: Fri, 10 Jun 2016 02:10:55 +0000 Subject: [PATCH] Define fixed python requirement for built rpm --- build-rpm.sh | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/build-rpm.sh b/build-rpm.sh index fef6188..1a7284f 100755 --- a/build-rpm.sh +++ b/build-rpm.sh @@ -1,3 +1,3 @@ #/usr/bin/bash -python ./setup.py bdist_rpm --requires 'python >= 2.6' +python ./setup.py bdist_rpm diff --git a/setup.cfg b/setup.cfg index 118c83e..ec5982d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,3 +5,6 @@ all_files = 1 [upload_sphinx] upload-dir = doc/_build/html + +[bdist_rpm] +requires = python >= 2.6