Remove deprecated python_provide macro

It cause gating to fail in rpmdep. It also add bogus
"python-%{srcname}" provides field:

rpm -q --provides python3-bcc
python-%{srcname} = 0.20.0-8.el9
...

Related: rhbz#2039595
This commit is contained in:
Jerome Marchand 2022-02-25 09:48:29 +01:00
parent 1544174780
commit a61b5a1d1e

View File

@ -27,7 +27,7 @@
Name: bcc Name: bcc
Version: 0.20.0 Version: 0.20.0
Release: 9%{?dist} Release: 10%{?dist}
Summary: BPF Compiler Collection (BCC) Summary: BPF Compiler Collection (BCC)
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/iovisor/bcc URL: https://github.com/iovisor/bcc
@ -108,7 +108,6 @@ Examples for BPF Compiler Collection (BCC)
Summary: Python3 bindings for BPF Compiler Collection (BCC) Summary: Python3 bindings for BPF Compiler Collection (BCC)
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
BuildArch: noarch BuildArch: noarch
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{name} %description -n python3-%{name}
Python3 bindings for BPF Compiler Collection (BCC) Python3 bindings for BPF Compiler Collection (BCC)
@ -258,6 +257,9 @@ install libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}
%endif %endif
%changelog %changelog
* Fri Feb 25 2022 Jerome Marchand <jmarchan@redhat.com> - 0.20.0-10
- Remove deprecated python_provides macro (needed for gating)
* Thu Feb 24 2022 Jerome Marchand <jmarchan@redhat.com> - 0.20.0-9 * Thu Feb 24 2022 Jerome Marchand <jmarchan@redhat.com> - 0.20.0-9
- Fix bio tools (rhbz#2039595) - Fix bio tools (rhbz#2039595)