diff --git a/package-orchestrator.sh b/package-orchestrator.sh index ff1ce04f..21a39ab9 100755 --- a/package-orchestrator.sh +++ b/package-orchestrator.sh @@ -35,8 +35,6 @@ source $BASE/get_version_string.sh string=$(get_rpm_version_string) VERSION_VALUE=${string% *} RELEASE_VALUE=${string#* } -PYTHON27_VALUE=0 -PYTHON3_VALUE=0 args=("$@") ELEMENTS=${#args[@]} @@ -49,12 +47,6 @@ for (( i=0;i<$ELEMENTS;i++)); do if [ "$arg" == "--with-release" ]; then RELEASE_VALUE=${args[${i}+1]} fi - if [ "$arg" == "--with-python27" ]; then - PYTHON27_VALUE=1 - fi - if [ "$arg" == "--with-python3" ]; then - PYTHON3_VALUE=1 - fi done @@ -67,7 +59,5 @@ rpmbuild -bb orchestrator.spec \ --define "_topdir $RPM_DIR" \ --define "_root $BASE"\ --define "_project_user $ORCHESTRATOR_USER"\ - --define "with_python27 $PYTHON27_VALUE"\ - --define "with_python3 $PYTHON3_VALUE"\ --define "_version $VERSION_VALUE"\ --define "_release $RELEASE_VALUE"