diff --git a/bcc-0.13.0.tar.gz b/bcc-src-with-submodule.tar.gz similarity index 36% rename from bcc-0.13.0.tar.gz rename to bcc-src-with-submodule.tar.gz index 7ce601d4681fb9f2fbfa7daf57b0f03f3d6ab75d..8db6d3641865bbf4bed0e02a3de1d594c44dce71 100644 Binary files a/bcc-0.13.0.tar.gz and b/bcc-src-with-submodule.tar.gz differ diff --git a/bcc.spec b/bcc.spec index c1e9fb76bd6d73f0014e80425783ea19cd16f8ed..32129b47c89b8c06f23df03f86471c72e8906790 100644 --- a/bcc.spec +++ b/bcc.spec @@ -1,11 +1,11 @@ Name: bcc -Version: 0.13.0 -Release: 2 +Version: 0.15.0 +Release: 0 Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc # Upstream now provides a release with the git submodule embedded in it -Source0: %{url}/archive/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{name}-src-with-submodule.tar.gz # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches @@ -97,6 +97,9 @@ Command line tools for BPF Compiler Collection (BCC) find %{buildroot}%{_datadir}/%{name}/{tools,examples} -type f -exec \ sed -i -e '1s=^#!/usr/bin/python\([0-9.]\+\)\?$=#!%{__python3}=' \ -e '1s=^#!/usr/bin/env python\([0-9.]\+\)\?$=#!%{__python3}=' \ + -e 's/from bcc/from bpfcc/g' \ + -e 's/import bcc/import bpfcc/g' \ + -e 's/bcc\./bpfcc\./g' \ -e '1s=^#!/usr/bin/env bcc-lua$=#!/usr/bin/bcc-lua=' {} \; # Move man pages to the right location @@ -158,6 +161,10 @@ rm -rf %{buildroot}%{_datadir}/%{name}/tools/old/ %changelog +* Wed Jul 22 2020 Shinwell Hu - - 0.15.0-0 +- Upgrade to v0.15.0 +- Using bcc-src-with-submodule instead of bcc-v0.15.0 + * Fri Jul 17 2020 Shinwell Hu - 0.13.0-2 - Rename python3-bcc to python3-bpfcc to avoid confliction with bcc on pypi