From 9c4e79dc53805ef2d8da888ccd2f806727c62029 Mon Sep 17 00:00:00 2001 From: lfl Date: Sat, 23 May 2020 10:48:48 +0800 Subject: [PATCH 1/3] update libguestfs.spec. --- libguestfs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguestfs.spec b/libguestfs.spec index c34a06d..93dd0d4 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -4,7 +4,7 @@ Name: libguestfs Version: 1.40.2 -Release: 6 +Release: 7 Epoch: 1 Summary: A set of tools for accessing and modifying virtual machine (VM) disk images License: LGPLv2+ -- Gitee From d6c16eadec2f5836279b94de28cda219604550d7 Mon Sep 17 00:00:00 2001 From: lfl Date: Sat, 23 May 2020 15:06:26 +0800 Subject: [PATCH 2/3] update yum.conf.in. --- yum.conf.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/yum.conf.in b/yum.conf.in index c1fbe8e..6258f6b 100644 --- a/yum.conf.in +++ b/yum.conf.in @@ -10,9 +10,14 @@ assumeyes=1 reposdir=/dev/null modulesdir=@PWD@/modules -[local] -name=local -baseurl=file://@PWD@/repo -failovermethod=priority +[obs-1] +name=obs-1 +baseurl=http://10.175.102.91:82/openEuler:/Mainline/standard_aarch64/ enabled=1 gpgcheck=0 + +[obs-2] +name=obs-2 +baseurl=http://10.175.102.91:82/openEuler:/Extras/standard_aarch64/ +enabled=1 +gpgcheck=0 \ No newline at end of file -- Gitee From 0eb25b5b3389f247e3a07ffcdf6583404656d836 Mon Sep 17 00:00:00 2001 From: lfl Date: Sat, 23 May 2020 15:28:10 +0800 Subject: [PATCH 3/3] update libguestfs.spec. --- libguestfs.spec | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 93dd0d4..bb7143d 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -196,18 +196,18 @@ fi sed -i 's/FEDORA | RHEL | CENTOS)/FEDORA | RHEL | CENTOS | EULEROS | GENERIC)/g' configure -%build -ip addr list ||: -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 -fi +#%build +#ip addr list ||: +#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 +#fi %global localconfigure \ %{configure} \\\ -- Gitee