diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..23fe32f --- /dev/null +++ b/build.sh @@ -0,0 +1,17 @@ +#!/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 diff --git a/installer-feature-kometa-school-kde5.spec b/installer-feature-kometa-school-kde5.spec index 420f705..9f0aea4 100755 --- a/installer-feature-kometa-school-kde5.spec +++ b/installer-feature-kometa-school-kde5.spec @@ -1,6 +1,6 @@ Name: installer-feature-kometa-school-kde5 -Version: 1.0 -Release: kometa7 +Version: 1.1 +Release: kometa1 Summary: feature to kometa school distro License: GPL @@ -27,6 +27,9 @@ install -pm755 93-kometa-school-kde5.sh %buildroot%hookdir/ %hookdir/* %changelog +* Thu Feb 22 2022 Artem Proskurnev 1.1-kometa1 +- Репозиторий osmesh.ru + * Fri Dec 24 2021 Artem Proskurnev 1.0-kometa7 - os-release отдельным файлом diff --git a/installer-feature-kometa-school-kde5-1.0/93-kometa-school-kde5.sh b/installer-feature-kometa-school-kde5/93-kometa-school-kde5.sh similarity index 87% rename from installer-feature-kometa-school-kde5-1.0/93-kometa-school-kde5.sh rename to installer-feature-kometa-school-kde5/93-kometa-school-kde5.sh index 9540aef..93d5d37 100755 --- a/installer-feature-kometa-school-kde5-1.0/93-kometa-school-kde5.sh +++ b/installer-feature-kometa-school-kde5/93-kometa-school-kde5.sh @@ -10,11 +10,12 @@ cp $destdir/usr/share/design/school/backgrounds/bglight.png $destdir/etc/skel/ cp $destdir/usr/share/design/school/backgrounds/default.png $destdir/etc/skel/ #Настройка дефолтных реп -#echo "">>$destdir/etc/apt/sources.list +echo "">>$destdir/etc/apt/sources.list #raz=`cat $destdir/etc/apt/sources.list.d/yandex.list|grep x86_64` #if [ "$raz" != "" ]; #then -#echo "rpm http://school830.ru/myrepo/ x86_64 hasher">>$destdir/etc/apt/sources.list +echo "rpm http://osmesh.ru/repo/p10 x86_64 hasher">>$destdir/etc/apt/sources.list +echo "rpm http://osmesh.ru/repo/p10 noarch hasher">>$destdir/etc/apt/sources.list #else #echo "rpm http://school830.ru/myrepo/ i586 hasher">>$destdir/etc/apt/sources.list #fi