From c371375e325e129fadf0e62fe4fbe2f252a4257d Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Tue, 8 Jan 2019 18:51:04 +0100 Subject: [PATCH] Better group dependencies Many dependencies are only required for fedabipkgdiff, so let's put them under the right conditional. --- libabigail.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libabigail.spec b/libabigail.spec index babd590..d1c6df1 100644 --- a/libabigail.spec +++ b/libabigail.spec @@ -21,26 +21,25 @@ BuildRequires: python3-sphinx BuildRequires: texinfo BuildRequires: dos2unix BuildRequires: dpkg +BuildRequires: wget + +%if 0%{?fedora} BuildRequires: python3-devel BuildRequires: python3-rpm BuildRequires: python3-mock -%if 0%{?fedora} BuildRequires: python3-koji -%endif BuildRequires: python3-pyxdg -BuildRequires: wget #For x-rpm mimetype definition! BuildRequires: mailcap Requires: python3-pyxdg Requires: python3-rpm Requires: koji -%if 0%{?fedora} Requires: python3-koji -%endif Requires: python3 >= 3.6 #For x-rpm mimetype definition! Requires: mailcap +%endif %description The libabigail package comprises seven command line utilities: @@ -153,6 +152,8 @@ fi * Wed Mar 13 2019 Mathieu Bridon - 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. * Thu Mar 7 2019 Tim Landscheidt - 1.5-4 - Remove obsolete requirements for %%post/%%preun scriptlets