Remove python3-pbr build dependency
Resolves: RHBZ#1975381 Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
parent
d9616d548a
commit
f4e173e522
@ -3,14 +3,13 @@
|
||||
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
|
||||
BuildArch: noarch
|
||||
|
||||
@ -44,13 +43,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 +67,9 @@ mv -v %{buildroot}/%{_bindir}/wbemcli.py %{buildroot}/%{_bindir}/pywbemcli.py
|
||||
%doc README.rst
|
||||
|
||||
%changelog
|
||||
* Wed Jun 23 2021 Tony Asleson <tasleson@redhat.com> - 1:0.15.0-5
|
||||
- https://bugzilla.redhat.com/show_bug.cgi?id=1975381
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.15.0-4
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user