Depend on Koji only on Fedora

Signed-off-by: Dodji Seketeli <dodji@seketeli.org>
This commit is contained in:
Dodji Seketeli 2018-03-19 16:02:44 +01:00
parent 5e90cebf64
commit 24cda57ede

View File

@ -3,7 +3,7 @@
Name: libabigail Name: libabigail
Version: 1.2 Version: 1.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Set of ABI analysis tools Summary: Set of ABI analysis tools
License: LGPLv3+ License: LGPLv3+
@ -22,7 +22,9 @@ BuildRequires: dpkg
BuildRequires: python2-devel BuildRequires: python2-devel
BuildRequires: python2-rpm BuildRequires: python2-rpm
BuildRequires: python2-mock BuildRequires: python2-mock
%if 0%{fedora}
BuildRequires: python2-koji BuildRequires: python2-koji
%endif
BuildRequires: python2-unittest2 BuildRequires: python2-unittest2
BuildRequires: python2-pyxdg BuildRequires: python2-pyxdg
BuildRequires: wget BuildRequires: wget
@ -32,7 +34,9 @@ BuildRequires: mailcap
Requires: python2-pyxdg Requires: python2-pyxdg
Requires: python2-rpm Requires: python2-rpm
Requires: koji Requires: koji
%if 0%{fedora}
Requires: python2-koji Requires: python2-koji
%endif
Requires: python2 >= 2.6 Requires: python2 >= 2.6
Requires: wget Requires: wget
#For x-rpm mimetype definition! #For x-rpm mimetype definition!
@ -148,6 +152,9 @@ fi
%doc doc/manuals/html/* %doc doc/manuals/html/*
%changelog %changelog
* Mon Mar 19 2018 Dodji Seketeli <dodji@redhat.com> - 1.2-2
- Depend on Koji only on Fedora
* Mon Mar 5 2018 Dodji Seketeli <dodji@redhat.com> - 1.2-1 * Mon Mar 5 2018 Dodji Seketeli <dodji@redhat.com> - 1.2-1
- Update to upstream 1.2 - Update to upstream 1.2