From a61b5a1d1e63834212ba50601a158d9465aed933 Mon Sep 17 00:00:00 2001 From: Jerome Marchand Date: Fri, 25 Feb 2022 09:48:29 +0100 Subject: [PATCH] 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 --- bcc.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bcc.spec b/bcc.spec index bcb70fe..ada1d4e 100644 --- a/bcc.spec +++ b/bcc.spec @@ -27,7 +27,7 @@ Name: bcc Version: 0.20.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc @@ -108,7 +108,6 @@ Examples for BPF Compiler Collection (BCC) Summary: Python3 bindings for BPF Compiler Collection (BCC) Requires: %{name} = %{version}-%{release} BuildArch: noarch -%{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{name} Python3 bindings for BPF Compiler Collection (BCC) @@ -258,6 +257,9 @@ install libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir} %endif %changelog +* Fri Feb 25 2022 Jerome Marchand - 0.20.0-10 +- Remove deprecated python_provides macro (needed for gating) + * Thu Feb 24 2022 Jerome Marchand - 0.20.0-9 - Fix bio tools (rhbz#2039595)