delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:40:10 +08:00
parent ce144e0900
commit a065394c18
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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