!8 virt-what delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @yangzhao_kl
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2021-08-13 08:52:57 +00:00 committed by Gitee
commit dbb52f8abc

View File

@ -1,12 +1,12 @@
Name: virt-what Name: virt-what
Version: 1.20 Version: 1.20
Release: 2 Release: 3
Summary: Detect if running in a virtual machine Summary: Detect if running in a virtual machine
License: GPLv2+ License: GPLv2+
URL: https://people.redhat.com/~rjones/virt-what/ URL: https://people.redhat.com/~rjones/virt-what/
Source0: https://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz Source0: https://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz
BuildRequires: gcc util-linux /usr/bin/pod2man git BuildRequires: gcc util-linux /usr/bin/pod2man
Requires: dmidecode util-linux which Requires: dmidecode util-linux which
%description %description
@ -16,7 +16,7 @@ is running in a virtual machine.
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
%build %build
%configure %configure
@ -47,6 +47,9 @@ make check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.20-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Sat Sep 19 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.20-2 * Sat Sep 19 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.20-2
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA