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: dpkg
|
||||||
BuildRequires: wget
|
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
|
%description
|
||||||
The libabigail package comprises seven command line utilities:
|
The libabigail package comprises seven command line utilities:
|
||||||
abidiff, kmidiff, abipkgdiff, abicompat, abidw, abilint and
|
abidiff, kmidiff, abipkgdiff, abicompat, abidw, and abilint.
|
||||||
fedabipkgdiff. The abidiff command line tool compares the ABI of two
|
The abidiff command line tool compares the ABI of two
|
||||||
ELF shared libraries and emits meaningful textual reports about
|
ELF shared libraries and emits meaningful textual reports about
|
||||||
changes impacting exported functions, variables and their types.
|
changes impacting exported functions, variables and their types.
|
||||||
Simarly, the kmidiff compares the kernel module interface of two Linux
|
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
|
library is still compatible with an application that is linked against
|
||||||
it. abidw emits an XML representation of the ABI of a given ELF
|
it. abidw emits an XML representation of the ABI of a given ELF
|
||||||
shared library. abilint checks that a given XML representation of the
|
shared library. abilint checks that a given XML representation of the
|
||||||
ABI of a shared library is correct. fedabipkgdiff interacts with the
|
ABI of a shared library is correct.
|
||||||
Fedora Build System over the internet to let the user compare the ABI
|
|
||||||
of Fedora packages without having to download them manually.
|
|
||||||
|
|
||||||
Install libabigail if you need to compare the ABI of ELF shared
|
Install libabigail if you need to compare the ABI of ELF shared
|
||||||
libraries.
|
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
|
form of man pages, texinfo documentation and API documentation in html
|
||||||
format.
|
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
|
%prep
|
||||||
%setup -n %{tarball_name}
|
%setup -n %{tarball_name}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
@ -125,9 +132,6 @@ fi
|
|||||||
%{_bindir}/abidw
|
%{_bindir}/abidw
|
||||||
%{_bindir}/abilint
|
%{_bindir}/abilint
|
||||||
%{_bindir}/abipkgdiff
|
%{_bindir}/abipkgdiff
|
||||||
%if 0%{?fedora}
|
|
||||||
%{_bindir}/fedabipkgdiff
|
|
||||||
%endif
|
|
||||||
%{_bindir}/kmidiff
|
%{_bindir}/kmidiff
|
||||||
%{_libdir}/libabigail.so.0
|
%{_libdir}/libabigail.so.0
|
||||||
%{_libdir}/libabigail.so.0.0.0
|
%{_libdir}/libabigail.so.0.0.0
|
||||||
@ -148,12 +152,23 @@ fi
|
|||||||
%license COPYING COPYING-LGPLV3 COPYING-GPLV3
|
%license COPYING COPYING-LGPLV3 COPYING-GPLV3
|
||||||
%doc doc/manuals/html/*
|
%doc doc/manuals/html/*
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%files fedora
|
||||||
|
%{_bindir}/fedabipkgdiff
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 13 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.5-4
|
* Wed Mar 13 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.5-4
|
||||||
- Remove unnecessary dependencies: python3-unittest2 and wget which
|
- Remove unnecessary dependencies: python3-unittest2 and wget which
|
||||||
was referred to twice.
|
was referred to twice.
|
||||||
- Better group dependencies: Many dependencies are only required for
|
- Better group dependencies: Many dependencies are only required for
|
||||||
fedabipkgdiff, so let's put them under the right conditional.
|
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
|
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 1.5-4
|
||||||
- Remove obsolete requirements for %%post/%%preun scriptlets
|
- Remove obsolete requirements for %%post/%%preun scriptlets
|
||||||
|
Loading…
Reference in New Issue
Block a user