Commit 431d88c8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 06da2b55
......@@ -265,6 +265,9 @@ if [ "$PKGVENDOR" != "alt" ] ; then
# obsoletes since Slackware/13 (rpm 4.10)
subst "s|^BuildPreReq:|BuildRequires:|g" $SPECNAME
subst "s|^PreReq:|Requires:|g" $SPECNAME
# not supported anywhere exclude ALT
subst "s|^BuildRequires(pre):|BuildRequires:|g" $SPECNAME
fi
# Auto*=yes,nomingw32 works only since ALT 4.1
......
......@@ -73,7 +73,7 @@ while getopts :hfstcudnop:a:Ab:z opt; do
# FIXME: handle SIGN separately
c) CHECKONLY=1 ; SIGN=1 ;;
u) UPLOADNOW=1 ; SIGN=1 ;;
a) UPLOADNOW=1 ; SIGN=1 ; PREPARETASK=yes ; TASKNUMBER=$OPTARG ;;
a) UPLOADNOW=1 ; SIGN=1 ; PREPARETASK=yes ; TASKNUMBER="$(echo $OPTARG | sed -e 's/before/ /g')" ;;
A) UPLOADNOW=1 ; SIGN=1 ; PREPARETASK=yes ; TASKNUMBER= ;;
# see functions/alt:set_binaryrepo() for BINARYREPONAME
b) BINARYREPONAME=$OPTARG ;;
......@@ -88,7 +88,7 @@ while getopts :hfstcudnop:a:Ab:z opt; do
?) OPTIND=$((OPTIND-1)); break;
esac
done
## remove args that were options
if [ $# -gt 0 ]; then
shift $((OPTIND - 1))
......
......@@ -382,7 +382,7 @@ do
s|%python_version|%__python_version|g
s|%python2_version|%__python_version|g
s|%python_sitelib/|%python_sitelibdir/|g
s|%_libdir/python2.6/site-packages/|%python_sitelibdir/|g
s|%_libdir/python2.[67]/site-packages/|%python_sitelibdir/|g
s|%py_sitedir/|%python_sitelibdir/|g
s|%python_sitearch|%python_sitelibdir|g
s|%python2_sitearch|%python_sitelibdir|g
......
......@@ -318,3 +318,5 @@ libXinerama|libxinerama1
libXcomp|libxcomp3
mailx|mailutils
libssh2-devel|libssh2-1-dev
libssh2|libssh2-1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment