e3bab73c15
New gcc12 package submission. OBS-URL: https://build.opensuse.org/request/show/946019 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc12?expand=0&rev=1
32 lines
494 B
Bash
32 lines
494 B
Bash
#!/bin/bash
|
|
# This script is called automatically during autobuild checkin.
|
|
|
|
case $0 in
|
|
\./*)
|
|
here=$PWD
|
|
;;
|
|
*/*)
|
|
here=${0%/*}
|
|
;;
|
|
*)
|
|
here=$PWD
|
|
;;
|
|
esac
|
|
case ${here##*/} in
|
|
gcc*.*)
|
|
# Handle maintainance projects with .$REPO suffix
|
|
suffix=${here##*/}
|
|
suffix=${suffix%%\.*}
|
|
set ${suffix#gcc}
|
|
;;
|
|
gcc-*)
|
|
suffix=${here##*/}
|
|
set ${suffix#*-}-
|
|
;;
|
|
gcc[0-9]*)
|
|
suffix=${here##*/}
|
|
set ${suffix#gcc}
|
|
;;
|
|
esac
|
|
. ${here}/change_spec
|