Add yaml file
This commit is contained in:
parent
8a5b5d3c4a
commit
89e3bb49e8
@ -202,11 +202,15 @@ ip route list ||:
|
||||
if ping -c 3 -w 20 8.8.8.8 && wget http://libguestfs.org -O /dev/null; then
|
||||
extra=
|
||||
else
|
||||
install -d cachedir repo
|
||||
find /.pkgs/ -type f -name '*.rpm' -print0 | xargs -0 -n 1 cp -t repo
|
||||
createrepo repo
|
||||
sed -e "s|@PWD@|$(pwd)|" %{SOURCE2} > yum.conf
|
||||
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
||||
if [ ! -d "/.pkgs" ];then
|
||||
extra=
|
||||
else
|
||||
install -d cachedir repo
|
||||
find /.pkgs/ -type f -name '*.rpm' -print0 | xargs -0 -n 1 cp -t repo
|
||||
createrepo repo
|
||||
sed -e "s|@PWD@|$(pwd)|" %{SOURCE2} > yum.conf
|
||||
extra=--with-supermin-packager-config=$(pwd)/yum.conf
|
||||
fi
|
||||
fi
|
||||
|
||||
%global localconfigure \
|
||||
|
||||
4
libguestfs.yaml
Normal file
4
libguestfs.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: libguestfs/libguestfs
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user