diff --git a/libguestfs.spec b/libguestfs.spec index c34a06df28bf0e62074c28272e73218999724dae..f5fd7c87a3b1cdc5a637b2f3d1221449a77c9f56 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 0000000000000000000000000000000000000000..60cddde4bcffc8e27fbbfc9f934d929bbe18dab3 --- /dev/null +++ b/libguestfs.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: libguestfs/libguestfs +tag_pattern: ^v +seperator: .