diff --git a/bin/import_srpm.sh b/bin/import_srpm.sh index 753f5228b..6b3bd1512 100755 --- a/bin/import_srpm.sh +++ b/bin/import_srpm.sh @@ -5,8 +5,9 @@ srpm_path=$1 git_path=$2 git_branch=$3 -tmp_dir=/tmp/$RANDOM +name=$(rpm -q --qf '[%{Name}]' -p $srpm_path) version=$(rpm -q --qf '[%{Version}]' -p $srpm_path) +tmp_dir=/tmp/$name-$version-$RANDOM # Clone destination repo mkdir -p $tmp_dir