diff --git a/pywbem.spec b/pywbem.spec index 81dcd23..ccb8e8f 100644 --- a/pywbem.spec +++ b/pywbem.spec @@ -2,13 +2,19 @@ Name: pywbem Version: 0.11.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python2 WBEM Client and Provider Interface Group: Development/Libraries License: LGPLv2 URL: https://github.com/pywbem/pywbem Source0: https://github.com/pywbem/pywbem/archive/v%{version}.tar.gz -BuildRequires: python2-pip PyYAML python2-ply python2-rpm-macros +%if 0%{?fedora} >= 26 +BuildRequires: python2-pip +%else +BuildRequires: python-pip +%endif + +BuildRequires: PyYAML python2-ply python2-rpm-macros BuildRequires: python3-pip python3-PyYAML python3-ply python3-rpm-macros BuildArch: noarch @@ -107,6 +113,9 @@ rm -rf %{buildroot} %{python_sitelib}/pywbem/twisted_client.py* %changelog +* Thu Oct 19 2017 Gris Ge - 0.11.0-3 +- Fedora 25 does not have python2-pip, use python-pip instead. + * Thu Oct 19 2017 Gris Ge - 0.11.0-2 - Add missing runtime dependency python2-ply and python3-ply