diff --git a/abi-dumper-1.1.tar.gz b/abi-dumper-1.1.tar.gz new file mode 100644 index 0000000..59016d5 Binary files /dev/null and b/abi-dumper-1.1.tar.gz differ diff --git a/abi-dumper.spec b/abi-dumper.spec new file mode 100644 index 0000000..d2d4cdb --- /dev/null +++ b/abi-dumper.spec @@ -0,0 +1,34 @@ +Name: abi-dumper +Version: 1.1 +Release: 1 +Summary: a tool to dump ABI of an ELF object containing DWARF debug info. +URL: https://github.com/lvc/abi-dumper +License: LGPL v2.1 and GPL v2.0 +Source: https://codeload.github.com/lvc/%{name}/tar.gz/%{version}/%{name}-%{version}.tar.gz +BuildRequires: gcc make git perl-interpreter perl-generators +Requires: elfutils elfutils-devel libstdc++ libstdc++-devel + +%description +The tool is intended to be used with ABI Compliance Checker tool for +tracking ABI changes of a C/C++ library or kernel module: +https://github.com/lvc/abi-compliance-checker + +%prep +%autosetup -p1 + +%install +mkdir -p %{buildroot}%{_prefix} +perl Makefile.pl -install --prefix=%{_prefix} --destdir=%{buildroot} + +%files +%defattr(-,root,root) +%license LICENSE LGPL-2.1 GPL-2.0 +%doc README +%{_bindir}/%{name} + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%changelog +* Sat Jul 25 2020 openEuler Buildteam - 1.1-1 +- Package Init diff --git a/abi-dumper.yaml b/abi-dumper.yaml new file mode 100644 index 0000000..ef7f6a9 --- /dev/null +++ b/abi-dumper.yaml @@ -0,0 +1,4 @@ +version_control: git +src_repo: https://github.com/lvc/abi-dumper +tag_prefix: "^abi-dumper-" +seperator: "."