Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
pkg-abidiff
pkg-abidiff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pkg-abidiff.spec of Package pkg-abidiff
# # spec file for package pkg-abidiff # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: pkg-abidiff Version: 0.96 Release: 0 Summary: Verify API/ABI Compatibility Of Linux Packages License: GPL-2.0+ or LGPL-2.0+ Group: Development/Tools/Other Url: https://github.com/lvc/pkg-abidiff Source0: https://github.com/lvc/pkg-abidiff/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: help2man BuildRequires: python-base BuildRequires: unzip Requires: abi-compliance-checker >= 1.99.25 Requires: abi-dumper >= 0.99.19 Requires: binutils Requires: ctags Requires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description The tool does the following: 1. Extracts input packages 2. Searches for *.debuginfo, *.so and header files 3. Creates ABI dumps of all found shared objects 4. Filters out private part of the ABI using info from header files 5. Matches shared objects in old and new packages 6. Compares ABI dumps of corresponding objects 7. Creates backward binary/source compatibility reports The pkg-abidiff tool is based on the ABI Compliance Checker tool. It is executed on every shared object found in the RPM. %prep %setup -q %build chmod 0755 %{name}.py ln -s %{name}.py %{name} help2man -v "-v" --no-discard-stderr -N -o %{name}.1 ./%{name} %install make install prefix=%{buildroot}%{_prefix} # Generate man page with help2man mkdir -p %{buildroot}%{_mandir}/man1 install -m 0644 %{name}.1 %{buildroot}%{_mandir}/man1 chmod 0644 %{buildroot}%{_datadir}/%{name}/modules/Internals/Styles/Report.css %files %defattr(-,root,root,-) %{_bindir}/%{name} %{_mandir}/man*/* %{_datadir}/%{name}/ %doc GPL-2.0 LGPL-2.0 LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor