summaryrefslogtreecommitdiffstats
path: root/Misc/RPM/make-spec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/RPM/make-spec.sh')
-rwxr-xr-xMisc/RPM/make-spec.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/Misc/RPM/make-spec.sh b/Misc/RPM/make-spec.sh
deleted file mode 100755
index 449814e..0000000
--- a/Misc/RPM/make-spec.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /bin/bash
-
-RPM_TOPDIR=/usr/src/redhat
-
-PY_VERSION=`perl -ne 'print "$1\n" if (/PY_VERSION\s*\"(.*)\"/o);' ../../Include/patchlevel.h`
-export PY_VERSION
-
-cp beopen-python.spec $RPM_TOPDIR/SPECS/beopen-python-$PY_VERSION.spec
-cp BeOpen-Python-Setup.patch $RPM_TOPDIR/SOURCES/BeOpen-Python-$PY_VERSION-Setup.patch
-
-perl -pi -e "s/(%define version).*/\$1 $PY_VERSION/;" $RPM_TOPDIR/SPECS/beopen-python-$PY_VERSION.spec