From ed29df337c1d09d133a11073c9d80a7d0409289d Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Thu, 17 Nov 2022 16:44:24 +0800 Subject: [PATCH] Replace openEuler with vendor --- kabi-dw.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/kabi-dw.spec b/kabi-dw.spec index 10780f1..3e14a55 100644 --- a/kabi-dw.spec +++ b/kabi-dw.spec @@ -1,15 +1,16 @@ %global commitdate 20181112 %global commit 6fbd644f618ca73b910fe7661b0198382ad45b9b %global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler} Name: kabi-dw Version: 0 -Release: 2 +Release: 3 Summary: Detect changes in the ABI between kernel builds License: GPLv3+ URL: https://github.com/skozina/%{name} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz 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 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 @@ -33,7 +34,10 @@ install -m 0755 %{name} %{buildroot}%{_bindir}/ %license COPYING %changelog -* Mon Aug 2 2021 liushaofei +* Thu Nov 17 2022 wangkai - 0-3 +- Replace openEuler with vendor + +* Mon Aug 2 2021 liushaofei - 0-2 - fix multiple definition * Wed Aug 12 2020 tuShenmei - 0-1