+# Since I want this RPM to be as generic as possible I won't let
+# distutils copy the scripts, since it will mangle the #! line
+# to use the real python pathname. Since some distros install
+# python 2.2 as python2 and others as python, then I can't let
+# it do that otherwise the dependencies will be fouled up. Copy
+# them manually instead:
+
+mkdir -p $RPM_BUILD_ROOT/usr/bin
+for s in \
+ img2png \
+ img2py \
+ img2xpm \
+ pycrust \
+ pyshell \
+ xrced; do
+ cp scripts/$s $RPM_BUILD_ROOT/usr/bin
+done
+
+