Compare commits
10 Commits
49124f499a
...
774452f588
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
774452f588 | ||
|
|
ed29df337c | ||
|
|
880e4ab1a9 | ||
|
|
37bf5de1a5 | ||
|
|
defcfdd027 | ||
|
|
bf42271564 | ||
|
|
185b151679 | ||
|
|
a7f9fc746b | ||
|
|
49658bcbe8 | ||
|
|
ed0b151c0b |
Binary file not shown.
8
kabi-dw-multiple-definition-yyin.patch
Normal file
8
kabi-dw-multiple-definition-yyin.patch
Normal file
@ -0,0 +1,8 @@
|
||||
--- ./parser.h.xiugai 2021-08-03 20:48:31.260494920 +0800
|
||||
+++ ./parser.h 2021-08-03 20:48:45.900664125 +0800
|
||||
@@ -30,4 +30,4 @@
|
||||
|
||||
int yylex();
|
||||
int yyerror(obj_t **root, char *s);
|
||||
-FILE *yyin;
|
||||
+extern FILE *yyin;
|
||||
14
kabi-dw.spec
14
kabi-dw.spec
@ -1,14 +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: 1
|
||||
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
|
||||
BuildRequires: elfutils-devel gcc bison flex glib2-devel redhat-rpm-config
|
||||
Patch0: kabi-dw-multiple-definition-yyin.patch
|
||||
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
|
||||
@ -17,7 +19,7 @@ later comparing the text files.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{commit}
|
||||
|
||||
%patch0 -p1
|
||||
%build
|
||||
%set_build_flags
|
||||
%make_build
|
||||
@ -32,5 +34,11 @@ install -m 0755 %{name} %{buildroot}%{_bindir}/
|
||||
%license COPYING
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Wed Aug 12 2020 tuShenmei <tushenmei@huawei.com> - 0-1
|
||||
- package init
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
---
|
||||
version_control: github
|
||||
src_repo: skozina/kabi-dw
|
||||
tag_prefix: NA
|
||||
separator: NA
|
||||
tag_prefix: ""
|
||||
separator: ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user