Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/KOMETA/kometa-os-release/blame/branch/master/build.sh You should set ROOT_URL correctly, otherwise the web may not work correctly.
kometa-os-release/build.sh

18 lines
375 B

3 years ago
#!/bin/sh
mkdir -p ~/RPM/SOURCES
mkdir -p ~/RPM/SPECS
for i in $(ls *.spec)
do
v=$(cat $i | grep Version | cut -c 9- | sed 's/ *//g')
n=$(basename -s .spec $i)
d=$n-$v
if [ -d $n ]; then
cp -fr $n $d
tar -cvf $d.tar $d
mv -f $d.tar ~/RPM/SOURCES/
cp -f $i ~/RPM/SPECS/
rm -rf $d
fi
rpm -ba ~/RPM/SPECS/$i
done