!12 【轻量级 PR】:use %{name} marco

From: @hongjinghao 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
This commit is contained in:
openeuler-ci-bot 2022-10-25 11:24:36 +00:00 committed by Gitee
commit 737af4a077
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,10 +1,10 @@
Name: virt-what Name: virt-what
Version: 1.21 Version: 1.21
Release: 1 Release: 2
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/%{name}/
Source0: https://people.redhat.com/~rjones/virt-what/files/%{name}-%{version}.tar.gz Source0: https://people.redhat.com/~rjones/%{name}/files/%{name}-%{version}.tar.gz
BuildRequires: gcc util-linux /usr/bin/pod2man BuildRequires: gcc util-linux /usr/bin/pod2man
Requires: dmidecode util-linux which Requires: dmidecode util-linux which
@ -47,6 +47,9 @@ make check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Tue Oct 25 2022 hongjinghao <hongjinghao@huawei.com> - 1.21-2
- use %{name} marco
* Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 1.21-1 * Tue Feb 8 2022 yangzhuangzhuang <yangzhuangzhuang1@h-partners.com> - 1.21-1
- update to 1.21 - update to 1.21