parent
9eb5dda88d
commit
b345ec28f2
@ -0,0 +1 @@ |
||||
tar: . name=kometa-std-desktop-@version@ base=kometa-std-desktop-@version@ |
@ -1,17 +0,0 @@ |
||||
#!/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/ |
||||
rm -rf $d |
||||
fi |
||||
cp -f $i ~/RPM/SPECS/ |
||||
rpm -ba ~/RPM/SPECS/$i |
||||
done |
Loading…
Reference in new issue