From 0d9f72996f1a0fafe6d2d48df2015d6dc6987ccf Mon Sep 17 00:00:00 2001 From: Tony Asleson Date: Wed, 23 Jun 2021 10:13:27 -0500 Subject: [PATCH] Remove python3-pbr dependency Signed-off-by: Tony Asleson --- pywbem.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pywbem.spec b/pywbem.spec index 44277db..8dca5ec 100644 --- a/pywbem.spec +++ b/pywbem.spec @@ -3,15 +3,15 @@ Name: pywbem Version: 0.15.0 Epoch: 1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python WBEM client interface and related utilities License: LGPLv2 URL: https://github.com/pywbem/pywbem Source0: https://github.com/pywbem/pywbem/archive/v%{version}/%{name}-%{version}.tar.gz Patch1: BZ_1922368.patch BuildRequires: python3-pip python3-PyYAML python3-ply python3-rpm-macros -BuildRequires: python3-pbr BuildRequires: python3-devel +BuildRequires: python3-setuptools BuildArch: noarch %description @@ -44,13 +44,12 @@ for more information about WBEM. %autosetup -p1 %build -PBR_VERSION="%{version}" CFLAGS="%{optflags}" %{__python3} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install rm -rf %{buildroot} env PYTHONPATH=%{buildroot}/%{python3_sitelib} \ - PBR_VERSION="%{version}" \ %{__python3} setup.py install -O1 --skip-build --root %{buildroot} rm -rf %{buildroot}/usr/bin/*.bat # wbemcli are conflicting with sblim-wbemcli @@ -69,6 +68,9 @@ mv -v %{buildroot}/%{_bindir}/wbemcli.py %{buildroot}/%{_bindir}/pywbemcli.py %doc README.rst %changelog +* Wed Jun 23 2021 Tony Asleson - 1:0.15.0-5 +- Remove python pbr build dependency + * Fri Jun 04 2021 Python Maint - 1:0.15.0-4 - Rebuilt for Python 3.10