diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b7074d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/kabi-dw-2ef3f81.tar.gz diff --git a/README.md b/README.md index 7aaf1b1..29aaf94 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # kabi-dw -The kabi-dw package \ No newline at end of file +The [kabi-dw](https://github.com/skozina/kabi-dw) package is a tool 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. diff --git a/kabi-dw.spec b/kabi-dw.spec new file mode 100644 index 0000000..6a7e739 --- /dev/null +++ b/kabi-dw.spec @@ -0,0 +1,41 @@ +%global commit 2ef3f812335d216a9aaf72e8473dc51dfd3a453e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: kabi-dw +Version: 0 +Release: 0.1.20171012git%{shortcommit}%{?dist} +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 +BuildRequires: bison +BuildRequires: flex +BuildRequires: libasan +BuildRequires: glib2-devel + +%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 +%make_build debug + +%install +install -dm 755 %{buildroot}%{_bindir} +install -m 0755 %{name} %{buildroot}%{_bindir}/ + +%files +%{_bindir}/%{name} +%doc README.md +%license COPYING + +%changelog +* Mon Oct 16 2017 Zamir SUN - 0-0.1.20171012git2ef3f81 +- Initial package kabi-dw diff --git a/sources b/sources new file mode 100644 index 0000000..46f92fc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kabi-dw-2ef3f81.tar.gz) = 76ec9a7aca4ef84c60afc8bc1f57242732950d19e2c6a22c87203b8f58b9ee2b336ed9d1c2d7396ac4ab07f03984850dc626fa2665b2e7d5f3ab2430135daa80