!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
Version: 1.20
Release: 2
Release: 3
Summary: Detect if running in a virtual machine
License: GPLv2+
URL: https://people.redhat.com/~rjones/virt-what/
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
%description
@ -16,7 +16,7 @@ is running in a virtual machine.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%configure
@ -47,6 +47,9 @@ make check
%{_mandir}/*/*
%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
- Type:enhancement
- ID:NA