Hello community,
here is the log from the commit of package bcc for openSUSE:Factory checked in at 2019-01-21 10:59:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bcc (Old)
and /work/SRC/openSUSE:Factory/.bcc.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc"
Mon Jan 21 10:59:33 2019 rev:25 rq:666847 version:0.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2018-10-15 10:49:08.255025038 +0200
+++ /work/SRC/openSUSE:Factory/.bcc.new.28833/bcc.changes 2019-01-21 11:01:26.699190463 +0100
@@ -1,0 +2,23 @@
+Thu Jan 17 11:09:49 UTC 2019 - Jan Engelhardt
+
+- Remove unnecessary use of xargs.
+- Remove idempotent %if..%endif guards.
+- Update descriptions for grammar.
+
+-------------------------------------------------------------------
+Tue Jan 15 09:54:23 UTC 2019 - Aleksa Sarai
+
+- Update to 0.8.0.
+- Remove upstreamed patches, and un-needed ones.
+ - bcc-check_int128.patch
+ - bcc-python3.patch (replaced with sed pipeline)
+ - bcc-install-additional-headers.patch (bpftrace has fixes now)
+
+-------------------------------------------------------------------
+Sun Nov 25 00:50:02 UTC 2018 - Aleksa Sarai
+
+- Switch to %license over %doc for licenses.
+- Add upstream patch for bpftrace builds. boo#1117223
+ + bsc-install-additional-headers.patch
+
+-------------------------------------------------------------------
Old:
----
bcc-check_int128.patch
bcc-python3.patch
v0.7.0.tar.gz
New:
----
v0.8.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bcc.spec ++++++
--- /var/tmp/diff_new_pack.QBEETa/_old 2019-01-21 11:01:28.231188484 +0100
+++ /var/tmp/diff_new_pack.QBEETa/_new 2019-01-21 11:01:28.235188479 +0100
@@ -1,7 +1,7 @@
#
# spec file for package bcc
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -28,16 +28,14 @@
%endif
Name: bcc
-Version: 0.7.0
+Version: 0.8.0
Release: 0
Summary: BPF Compiler Collection (BCC)
License: Apache-2.0
Group: Development/Tools/Other
Url: https://github.com/iovisor/bcc
Source: https://github.com/iovisor/bcc/archive/v%{version}.tar.gz
-Patch1: %{name}-check_int128.patch
-Patch2: %{name}-python3.patch
-Patch3: %{name}-bsc1080085-import-readline-from-lib.patch
+Patch1: %{name}-bsc1080085-import-readline-from-lib.patch
ExcludeArch: ppc s390
BuildRequires: bison
BuildRequires: cmake >= 2.8.7
@@ -68,33 +66,33 @@
%description
BCC is a toolkit for creating efficient kernel tracing and manipulation
programs, and includes several useful tools and examples. It makes use
-of eBPF (Extended Berkeley Packet Filters), a new feature that was first
+of eBPF (Extended Berkeley Packet Filters), a feature that was first
added to Linux 3.15. Much of what BCC uses requires Linux 4.1 and above.
%package -n libbcc0
-Summary: Shared Library for BPF Compiler Collection
+Summary: Shared library from the BPF Compiler Collection
Group: System/Libraries
%description -n libbcc0
-Shared Library for BPF Compiler Collection (BCC)
+Shared Library from the BPF Compiler Collection.
%package -n libbpf0
Summary: Standalone eBPF library
Group: System/Libraries
%description -n libbpf0
-A standalone library to load eBPF programs
+A standalone library to load eBPF (Extended Berkeley Packet Filter) programs.
%package devel
-Summary: BPF Compiler Collection (BCC) (devel package)
+Summary: Header files for the BPF Compiler Collection
Group: Development/Languages/C and C++
Requires: libbcc0 = %{version}
%description devel
-Shared library and pkg-config for developing BCC programs
+Headers and pkg-config build descriptions for developing BCC programs.
%package -n python2-bcc
-Summary: Python2 bindings for BPF Compiler Collection
+Summary: Python2 bindings for the BPF Compiler Collection
Group: Development/Languages/Python
Requires: kernel >= 4.1.0
Requires: kernel-devel >= 4.1.0
@@ -103,33 +101,31 @@
Obsoletes: python-bcc < %{version}
%description -n python2-bcc
-Python bindings for BPF Compiler Collection (BCC)
+Python 2.x bindings for the BPF Compiler Collection.
%package -n python3-bcc
-Summary: Python3 bindings for BPF Compiler Collection
+Summary: Python3 bindings for the BPF Compiler Collection
Group: Development/Languages/Python
Requires: kernel >= 4.1.0
Requires: kernel-devel >= 4.1.0
Requires: libbcc0 = %{version}
%description -n python3-bcc
-Python3 bindings for BPF Compiler Collection (BCC)
+Python 3.x bindings for the BPF Compiler Collection.
-%if %{with_lua}
%package lua
-Summary: Lua interpreter for BPF Compiler Collection
+Summary: Lua interpreter for the BPF Compiler Collection
Group: Development/Languages/Other
Requires: kernel >= 4.1.0
Requires: kernel-devel >= 4.1.0
Requires: libbcc0 = %{version}
%description lua
-Lua interpreter for BPF Compiler Collection (BCC)
-%endif
+Lua interpreter for the BPF Compiler Collection.
%package examples
-Summary: Examples for BPF Compiler Collection (BCC)
-Group: Development/Sources
+Summary: Examples from the BPF Compiler Collection
+Group: Documentation/Other
Requires: python3-bcc = %{version}
Requires: python3-future
Recommends: python3-pyroute2
@@ -137,10 +133,10 @@
Recommends: netperf
%description examples
-Python and C examples for BPF Compiler Collection (BCC)
+Python and C examples from the BPF Compiler Collection.
%package tools
-Summary: Tracing tools of BPF Compiler Collection (BCC)
+Summary: Tracing tools from the BPF Compiler Collection
# ausyscall from audit is required by syscount.py
Group: System/Monitoring
Requires: audit
@@ -148,21 +144,18 @@
Requires: python3-future
%description tools
-Python tracing scripts of BPF Compiler Collection (BCC)
+Python tracing scripts from the BPF Compiler Collection.
%package docs
-Summary: BPF Compiler Collection (BCC) documentation
+Summary: BPF Compiler Collection documentation
Group: Documentation/Other
%description docs
-The documentation of how to write programs with BPF Compiler Collection (BCC)
-
+Documentation on how to write programs with the BPF Compiler Collection.
%prep
%setup -D -n %{name}-%{version}
%patch1 -p1
-%patch2 -p1
-%patch3 -p1
%build
# Prevent the cpp examples from compilation and installation
@@ -182,7 +175,7 @@
mkdir build
pushd build
-CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS cmake \
+CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" cmake \
-DPYTHON_CMD=python3 \
-DREVISION_LAST=%{libversion} \
-DREVISION=%{libversion} \
@@ -203,9 +196,17 @@
make VERBOSE=1
popd
+# Fix up #!-lines.
+find tools/ examples/ -type f -exec \
+ sed -Ei '1s|^#!/usr/bin/env python3?|#!/usr/bin/python3|' {} +
+find tools/ examples/ -type f -exec \
+ sed -Ei '1s|^#!/usr/bin/env bcc-lua|#!/usr/bin/bcc-lua|' {} +
+find tools/ examples/ -type f -exec \
+ sed -Ei 's|"python"|"python3"|g' {} +
+
%install
pushd build
-make install DESTDIR=%{buildroot}
+%make_install
%if 0%{?suse_version} <= 1500
# Remove bps due to the incomplete support in kernel (bsc#1085403)
@@ -216,7 +217,7 @@
cmake -DPYTHON_CMD=python2 ..
pushd src/python/
make %{?_smp_mflags} VERBOSE=1
-make install DESTDIR=%{buildroot}
+%make_install
popd
popd
@@ -237,11 +238,11 @@
%{_libdir}/pkgconfig/libbcc.pc
%files -n libbcc0
-%doc LICENSE.txt
+%license LICENSE.txt
%{_libdir}/libbcc.so.*
%files -n libbpf0
-%doc LICENSE.txt
+%license LICENSE.txt
%{_libdir}/libbpf.so.*
%files -n python2-bcc
++++++ v0.7.0.tar.gz -> v0.8.0.tar.gz ++++++
++++ 15357 lines of diff (skipped)