master
Artem Proskurnev 3 years ago
parent 3220f9f502
commit cad959ee82
  1. 17
      build.sh
  2. 0
      installer-feature-kometa-kde5.spec
  3. 0
      installer-feature-kometa-kde5/92-kometa-kde5.sh
  4. 0
      installer-feature-kometa-kde5/mntchroot.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
Loading…
Cancel
Save