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 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