Correct libvirt dependency for EPEL7/RHEL7
This commit is contained in:
parent
c7c0dc0db6
commit
ed6d05362f
1 changed files with 6 additions and 3 deletions
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
Name: python-%{pkgname}
|
||||
Version: 52.1
|
||||
Release: 5%{?gitrel}%{?dist}
|
||||
Release: 6%{?gitrel}%{?dist}
|
||||
Summary: Framework with tools and libraries for Automated Testing
|
||||
Group: Development/Tools
|
||||
# Found licenses:
|
||||
|
|
@ -76,7 +76,7 @@ BuildRequires: fabric
|
|||
|
||||
%if 0%{?with_tests}
|
||||
BuildRequires: perl(TAP::Parser)
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 7
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
|
||||
BuildRequires: python2-libvirt
|
||||
%else
|
||||
BuildRequires: libvirt-python
|
||||
|
|
@ -214,7 +214,7 @@ Summary: Avocado Runner for libvirt VM Execution
|
|||
%{?python_provide:%python_provide python2-%{pkgname}-plugins-runner-vm}
|
||||
Requires: python2-%{pkgname} == %{version}-%{release}
|
||||
Requires: python2-%{pkgname}-plugins-runner-remote == %{version}-%{release}
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 7
|
||||
%if 0%{?fedora} >= 27 || 0%{?rhel} > 7
|
||||
Requires: python2-libvirt
|
||||
%else
|
||||
Requires: libvirt-python
|
||||
|
|
@ -459,6 +459,9 @@ find %{buildroot}%{_docdir}/avocado -type f -name '*.py' -exec %{__chmod} -c -x
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 08 2018 Merlin Mathesius <mmathesi@redhat.com> - 52.1-6
|
||||
- Correct libvirt dependency for EPEL7/RHEL7
|
||||
|
||||
* Mon Jun 04 2018 Merlin Mathesius <mmathesi@redhat.com> - 52.1-5
|
||||
- Conditionalize python2 dependencies for cross-release compatibility of SPEC
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue