!4 Replace openEuler with vendor

From: @wk333 
Reviewed-by: @caodongxia, @xiexiuqi 
Signed-off-by: @xiexiuqi
This commit is contained in:
openeuler-ci-bot 2022-11-17 09:30:39 +00:00 committed by Gitee
commit 774452f588
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,15 +1,16 @@
%global commitdate 20181112 %global commitdate 20181112
%global commit 6fbd644f618ca73b910fe7661b0198382ad45b9b %global commit 6fbd644f618ca73b910fe7661b0198382ad45b9b
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
Name: kabi-dw Name: kabi-dw
Version: 0 Version: 0
Release: 2 Release: 3
Summary: Detect changes in the ABI between kernel builds Summary: Detect changes in the ABI between kernel builds
License: GPLv3+ License: GPLv3+
URL: https://github.com/skozina/%{name} URL: https://github.com/skozina/%{name}
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
Patch0: kabi-dw-multiple-definition-yyin.patch Patch0: kabi-dw-multiple-definition-yyin.patch
BuildRequires: elfutils-devel gcc bison flex glib2-devel openEuler-rpm-config BuildRequires: elfutils-devel gcc bison flex glib2-devel %{vendor}-rpm-config
%description %description
The aim of kabi-dw is to detect any changes in the ABI between the successive The aim of kabi-dw is to detect any changes in the ABI between the successive
builds of the Linux kernel. This is done by dumping the DWARF type information builds of the Linux kernel. This is done by dumping the DWARF type information
@ -33,7 +34,10 @@ install -m 0755 %{name} %{buildroot}%{_bindir}/
%license COPYING %license COPYING
%changelog %changelog
* Mon Aug 2 2021 liushaofei <liushaofei5@huawei.com> * Thu Nov 17 2022 wangkai <wangkai385@h-partners.com> - 0-3
- Replace openEuler with vendor
* Mon Aug 2 2021 liushaofei <liushaofei5@huawei.com> - 0-2
- fix multiple definition - fix multiple definition
* Wed Aug 12 2020 tuShenmei <tushenmei@huawei.com> - 0-1 * Wed Aug 12 2020 tuShenmei <tushenmei@huawei.com> - 0-1