From 6236be06199ef821214f94a2048cdf0ac0ae3be1 Mon Sep 17 00:00:00 2001 From: hht8 Date: Thu, 28 May 2020 17:35:03 +0800 Subject: [PATCH] Add libguestfs.yaml and delete unnecessary operations --- libguestfs.spec | 15 +++++---------- libguestfs.yaml | 4 ++++ 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 libguestfs.yaml diff --git a/libguestfs.spec b/libguestfs.spec index c34a06d..f5fd7c8 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+ @@ -199,15 +199,7 @@ sed -i 's/FEDORA | RHEL | CENTOS)/FEDORA | RHEL | CENTOS | EULEROS | GENERIC)/g' %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 +extra= %global localconfigure \ %{configure} \\\ @@ -419,6 +411,9 @@ install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/ %exclude %{_mandir}/man1/virt-tar.1* %changelog +* Thu Mar 28 2020 huanghaitao - 1:1.40.2-7 +- Delete unnecessary operations + * Tue Mar 10 2020 yangjian - 1:1.40.2-6 - Type:NA - ID:NA diff --git a/libguestfs.yaml b/libguestfs.yaml new file mode 100644 index 0000000..60cddde --- /dev/null +++ b/libguestfs.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: libguestfs/libguestfs +tag_pattern: ^v +seperator: . -- Gitee