Split fedabipkgdiff to its own subpackage
This tool is very specific, and only useful to Fedora developers, not all developers. It also has lots of dependencies which aren't required by the other tools. Splitting it to its own specialized package makes the main package, with its library and utilities, much lighter.
This commit is contained in:
parent
c371375e32
commit
c41ee509c9
@ -23,28 +23,10 @@ BuildRequires: dos2unix
|
||||
BuildRequires: dpkg
|
||||
BuildRequires: wget
|
||||
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-rpm
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-koji
|
||||
BuildRequires: python3-pyxdg
|
||||
#For x-rpm mimetype definition!
|
||||
BuildRequires: mailcap
|
||||
|
||||
Requires: python3-pyxdg
|
||||
Requires: python3-rpm
|
||||
Requires: koji
|
||||
Requires: python3-koji
|
||||
Requires: python3 >= 3.6
|
||||
#For x-rpm mimetype definition!
|
||||
Requires: mailcap
|
||||
%endif
|
||||
|
||||
%description
|
||||
The libabigail package comprises seven command line utilities:
|
||||
abidiff, kmidiff, abipkgdiff, abicompat, abidw, abilint and
|
||||
fedabipkgdiff. The abidiff command line tool compares the ABI of two
|
||||
abidiff, kmidiff, abipkgdiff, abicompat, abidw, and abilint.
|
||||
The abidiff command line tool compares the ABI of two
|
||||
ELF shared libraries and emits meaningful textual reports about
|
||||
changes impacting exported functions, variables and their types.
|
||||
Simarly, the kmidiff compares the kernel module interface of two Linux
|
||||
@ -53,9 +35,7 @@ two packages. abicompat checks if a subsequent version of a shared
|
||||
library is still compatible with an application that is linked against
|
||||
it. abidw emits an XML representation of the ABI of a given ELF
|
||||
shared library. abilint checks that a given XML representation of the
|
||||
ABI of a shared library is correct. fedabipkgdiff interacts with the
|
||||
Fedora Build System over the internet to let the user compare the ABI
|
||||
of Fedora packages without having to download them manually.
|
||||
ABI of a shared library is correct.
|
||||
|
||||
Install libabigail if you need to compare the ABI of ELF shared
|
||||
libraries.
|
||||
@ -79,6 +59,33 @@ This package contains documentation for the libabigail tools in the
|
||||
form of man pages, texinfo documentation and API documentation in html
|
||||
format.
|
||||
|
||||
%if 0%{?fedora}
|
||||
%package fedora
|
||||
Summary: Utility to compare the ABI of Fedora packages
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-koji
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-rpm
|
||||
BuildRequires: python3-pyxdg
|
||||
#For x-rpm mimetype definition!
|
||||
BuildRequires: mailcap
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: curl
|
||||
Requires: koji
|
||||
Requires: python3 >= 3.6
|
||||
Requires: python3-koji
|
||||
Requires: python3-pyxdg
|
||||
Requires: python3-rpm
|
||||
#For x-rpm mimetype definition!
|
||||
Requires: mailcap
|
||||
|
||||
%description fedora
|
||||
This package contains the fedabipkgdiff command line utility, which
|
||||
interacts with the Fedora Build System over the internet to let the
|
||||
user compare the ABI of Fedora packages without having to download
|
||||
them manually.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -n %{tarball_name}
|
||||
%patch0 -p1
|
||||
@ -125,9 +132,6 @@ fi
|
||||
%{_bindir}/abidw
|
||||
%{_bindir}/abilint
|
||||
%{_bindir}/abipkgdiff
|
||||
%if 0%{?fedora}
|
||||
%{_bindir}/fedabipkgdiff
|
||||
%endif
|
||||
%{_bindir}/kmidiff
|
||||
%{_libdir}/libabigail.so.0
|
||||
%{_libdir}/libabigail.so.0.0.0
|
||||
@ -148,12 +152,23 @@ fi
|
||||
%license COPYING COPYING-LGPLV3 COPYING-GPLV3
|
||||
%doc doc/manuals/html/*
|
||||
|
||||
%if 0%{?fedora}
|
||||
%files fedora
|
||||
%{_bindir}/fedabipkgdiff
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Mar 13 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.5-4
|
||||
- Remove unnecessary dependencies: python3-unittest2 and wget which
|
||||
was referred to twice.
|
||||
- Better group dependencies: Many dependencies are only required for
|
||||
fedabipkgdiff, so let's put them under the right conditional.
|
||||
- Split fedabipkgdiff to its own subpackage
|
||||
This tool is very specific, and only useful to Fedora developers,
|
||||
not all developers. It also has lots of dependencies which aren't
|
||||
required by the other tools. Splitting it to its own specialized
|
||||
package makes the main package, with its library and utilities,
|
||||
much lighter.
|
||||
|
||||
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 1.5-4
|
||||
- Remove obsolete requirements for %%post/%%preun scriptlets
|
||||
|
Loading…
Reference in New Issue
Block a user