!6 virt-manager delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @imxcc
Signed-off-by: @imxcc
This commit is contained in:
openeuler-ci-bot 2021-08-09 02:28:27 +00:00 committed by Gitee
commit 01b3f3dd83

View File

@ -1,7 +1,7 @@
%global __python %{__python3} %global __python %{__python3}
Name: virt-manager Name: virt-manager
Version: 2.1.0 Version: 2.1.0
Release: 4 Release: 5
Summary: The manage virtual machines tool which via libvirt. Summary: The manage virtual machines tool which via libvirt.
License: GPLv2+ License: GPLv2+
BuildArch: noarch BuildArch: noarch
@ -12,7 +12,7 @@ Patch0002: 0002-initrdinject-Force-added-files-to-be-owned-as-root-b.p
Requires: virt-manager-common = %{version}-%{release} python3-gobject gtk3 libvirt-glib >= 0.0.9 Requires: virt-manager-common = %{version}-%{release} python3-gobject gtk3 libvirt-glib >= 0.0.9
Requires: gtk-vnc2 spice-gtk3 dconf vte291 Requires: gtk-vnc2 spice-gtk3 dconf vte291
Recommends: (libvirt-daemon-kvm or libvirt-daemon-qemu) libvirt-daemon-config-network Recommends: (libvirt-daemon-kvm or libvirt-daemon-qemu) libvirt-daemon-config-network
BuildRequires: intltool /usr/bin/pod2man python3-devel git BuildRequires: intltool /usr/bin/pod2man python3-devel
%description %description
The virtual machine management tool uses libvirt as the management API and provides The virtual machine management tool uses libvirt as the management API and provides
@ -45,7 +45,7 @@ Requires: virt-manager = %{version}-%{release}
Documentation for user of virt-manager. Documentation for user of virt-manager.
%prep %prep
%autosetup -n virt-manager-%{version} -p1 -S git %autosetup -n virt-manager-%{version} -p1
%build %build
./setup.py configure --default-hvs "qemu,xen,lxc" ./setup.py configure --default-hvs "qemu,xen,lxc"
@ -81,6 +81,9 @@ done
%{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-convert.1*,virt-xml.1*} %{_mandir}/man1/{virt-install.1*,virt-clone.1*,virt-convert.1*,virt-xml.1*}
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.1.0-5
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.1.0-4 * Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 2.1.0-4
- Completing build dependencies to fix git command missing error - Completing build dependencies to fix git command missing error