diff --git a/kabi-dw-6fbd644.tar.gz b/kabi-dw-6fbd644.tar.gz new file mode 100644 index 0000000..237ff45 Binary files /dev/null and b/kabi-dw-6fbd644.tar.gz differ diff --git a/kabi-dw.spec b/kabi-dw.spec new file mode 100644 index 0000000..92cb08a --- /dev/null +++ b/kabi-dw.spec @@ -0,0 +1,36 @@ +%global commitdate 20181112 +%global commit 6fbd644f618ca73b910fe7661b0198382ad45b9b +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +Name: kabi-dw +Version: 0 +Release: 1 +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 openEuler-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 +(the .debug_info section) for the specific symbols into the text files and +later comparing the text files. + +%prep +%setup -q -n %{name}-%{commit} + +%build +%set_build_flags +%make_build + +%install +install -dm 755 %{buildroot}%{_bindir} +install -m 0755 %{name} %{buildroot}%{_bindir}/ + +%files +%{_bindir}/%{name} +%doc README.md +%license COPYING + +%changelog +* Wed Aug 12 2020 tuShenmei - 0-1 +- package init diff --git a/kabi-dw.yaml b/kabi-dw.yaml new file mode 100644 index 0000000..e7b3338 --- /dev/null +++ b/kabi-dw.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: skozina/kabi-dw +tag_prefix: "" +separator: ""