Remove python3-pbr dependency
Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
parent
089a7e4251
commit
0d9f72996f
10
pywbem.spec
10
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 <tasleson@redhat.com> - 1:0.15.0-5
|
||||
- Remove python pbr build dependency
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1:0.15.0-4
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user