Changeset 1033 for rpmbuild-bot
- Timestamp:
- Feb 24, 2017, 11:50:35 PM (8 years ago)
- Location:
- rpmbuild-bot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
rpmbuild-bot/rpmbuild-bot-local.sh
r889 r1033 18 18 # 19 19 20 # Local directory to look for .spec files w/o path. 21 # This is normall an SVN repository where .spec files will be committed 22 # by the upload command. 23 RPMBUILD_BOT_SPEC_DIR="D:/Coding/rpm/spec/SPECS" 24 20 25 # Local netdrive directory that maps to rpm.netlabs.org over WEBDAV. 21 26 RPM_NETLABS_ORG_DIR="Y:/webdav/rpm.netlabs.org" -
rpmbuild-bot/rpmbuild-bot.sh
r1032 r1033 888 888 esac 889 889 890 # Set up the rpmbuild-bot environment. 891 . "${0%%.sh}-env.sh" 892 893 # Check common env settings. 894 test -n "$RPMBUILD_BOT_ARCH_LIST" || die "RPMBUILD_BOT_ARCH_LIST is empty." 895 890 896 # Query all rpmbuild macros in a single run as it may be slow. 891 897 eval `rpmbuild.exe --eval='rpmbuild_dir="%_topdir" ; spec_dir="%_specdir" ; src_dir="%_sourcedir" ; dist_mark="%dist"' | tr '\\\' /` … … 894 900 [ -n "$spec_dir" -a -d "$spec_dir" ] || die "Falied to get %_specdir from rpmbuild or not directory ($spec_dir)." 895 901 [ -n "$src_dir" -a -d "$src_dir" ] || die "Falied to get %_sourcedir from rpmbuild or not directory ($src_dir)." 902 [ -n "$dist_mark" -a -d "$src_dir" ] || die "Falied to get %dist from rpmbuild, build command wouldn't differ from test." 903 904 # RPMBUILD_BOT_SPEC_DIR overrides %_specdir 905 if [ -n "$RPMBUILD_BOT_SPEC_DIR" ] ; then 906 [ -d "$RPMBUILD_BOT_SPEC_DIR" ] || die "RPMBUILD_BOT_SPEC_DIR is not directory ($RPMBUILD_BOT_SPEC_DIR)." 907 spec_dir="$RPMBUILD_BOT_SPEC_DIR" 908 fi 896 909 897 910 log_dir="$rpmbuild_dir/logs" … … 929 942 echo "Command: $command $options" 930 943 931 # Set up the rpmbuild-bot environment.932 . "${0%%.sh}-env.sh"933 934 # Check common settings.935 test -n "$RPMBUILD_BOT_ARCH_LIST" || die "RPMBUILD_BOT_ARCH_LIST is empty."936 937 944 run eval "${command_name}_cmd" 938 945
Note:
See TracChangeset
for help on using the changeset viewer.