diff --git a/SPECS/pywbem.spec b/SPECS/pywbem.spec index 05a010e..268290f 100644 --- a/SPECS/pywbem.spec +++ b/SPECS/pywbem.spec @@ -1,6 +1,6 @@ Name: pywbem Version: 0.11.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python WBEM Client and Provider Interface Group: Development/Libraries License: LGPLv2 @@ -55,18 +55,24 @@ CFLAGS="%{optflags}" %{__python3} setup.py build env PYTHONPATH=%{buildroot}/%{python3_sitelib} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} rm -rf %{buildroot}/usr/bin/*.bat +# wbemcli are conflicting with sblim-wbemcli +mv -v %{buildroot}/%{_bindir}/wbemcli %{buildroot}/%{_bindir}/pywbemcli +sed -i -e 's/wbemcli/pywbemcli/' %{buildroot}/%{_bindir}/pywbemcli +mv -v %{buildroot}/%{_bindir}/wbemcli.py %{buildroot}/%{_bindir}/pywbemcli.py %files -n python3-pywbem %{python3_sitelib}/*.egg-info %{python3_sitelib}/pywbem/ -%{python3_sitelib}/pywbem/LICENSE.txt -%{python3_sitelib}/pywbem/__pycache__/ %{_bindir}/mof_compiler -%{_bindir}/wbemcli -%{_bindir}/wbemcli.py +%{_bindir}/pywbemcli +%{_bindir}/pywbemcli.py %doc README.rst %changelog +* Wed Nov 6 2019 Tony Asleson - 0.11.0-8 +- Fix the conflict with sblim-wbemcli: RHBZ #1757855 +- Corrected warning about multiple file inclusion + * Wed Jun 13 2018 Petr Viktorin - 0.11.0-7 - Drop the python2 subpackage