Hello community,

here is the log from the commit of package bcc for openSUSE:Factory checked in 
at 2019-06-04 12:15:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bcc (Old)
 and      /work/SRC/openSUSE:Factory/.bcc.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bcc"

Tue Jun  4 12:15:08 2019 rev:29 rq:707428 version:0.10.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/bcc/bcc.changes  2019-04-23 14:39:06.105580284 
+0200
+++ /work/SRC/openSUSE:Factory/.bcc.new.5148/bcc.changes        2019-06-04 
12:15:13.627765043 +0200
@@ -1,0 +2,20 @@
+Tue Jun  4 08:25:44 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Update to 0.10.0
+  + Support for kernel up to 5.1
+  + corresponding libbpf submodule release is v0.0.3
+  + support for reading kernel headers from /proc
+  + libbpf.{a,so} renamed to libcc_bpf.{a,so}
+  + new common options for some tools
+  + new tool: drsnoop
+  + s390 USDT support
+- Update libbpf to 0.0.3
+  + Also add the source url of libbpf
+- Drop upstreamed patches
+  + 0001-fix-string-re-being-used-on-bytes-for-Python-3.patch
+  + 0001-Convert-bytes-to-string-for-re-in-get_tracepoints.patch
+  + 0001-tools-don-t-mix-print-end-with-printb.patch
+- Drop bcc-libbpf0 since upstream dropped the so file
+- Enable SMP build flags since we don't need static clang anymore
+
+-------------------------------------------------------------------

Old:
----
  0001-Convert-bytes-to-string-for-re-in-get_tracepoints.patch
  0001-fix-string-re-being-used-on-bytes-for-Python-3.patch
  0001-tools-don-t-mix-print-end-with-printb.patch
  libbpf-5beb8a2ebffd.tar.gz
  v0.9.0.tar.gz

New:
----
  v0.0.3.tar.gz
  v0.10.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bcc.spec ++++++
--- /var/tmp/diff_new_pack.7vU5RO/_old  2019-06-04 12:15:15.339764483 +0200
+++ /var/tmp/diff_new_pack.7vU5RO/_new  2019-06-04 12:15:15.375764471 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define libversion 0.9.0
+%define libversion 0.10.0
 %if 0%{?is_opensuse} == 1
 %ifarch %ix86 x86_64
 %{!?with_lua: %global with_lua 1}
@@ -27,18 +27,17 @@
 %{!?with_lua: %global with_lua 0}
 %endif
 
+%define libbpf_version 0.0.3
+
 Name:           bcc
-Version:        0.9.0
+Version:        0.10.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
-Source1:        libbpf-5beb8a2ebffd.tar.gz
-Patch1:         0001-fix-string-re-being-used-on-bytes-for-Python-3.patch
-Patch2:         0001-Convert-bytes-to-string-for-re-in-get_tracepoints.patch
-Patch3:         0001-tools-don-t-mix-print-end-with-printb.patch
+Source1:        
https://github.com/libbpf/libbpf/archive/v%{libbpf_version}.tar.gz
 ExcludeArch:    ppc s390
 BuildRequires:  bison
 BuildRequires:  cmake >= 2.8.7
@@ -48,8 +47,7 @@
 BuildRequires:  llvm-clang-devel >= 3.7.0
 BuildRequires:  llvm-devel >= 3.7.0
 %if 0%{?suse_version} > 1320
-# bsc#1065593 Some static clang libraries are needed
-BuildRequires:  clang-devel-static
+BuildRequires:  clang-devel
 BuildRequires:  llvm-gold
 %if %{with_lua}
 BuildRequires:  lua51-luajit-devel
@@ -79,13 +77,6 @@
 %description -n libbcc0
 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 (Extended Berkeley Packet Filter) programs.
-
 %package devel
 Summary:        Header files for the BPF Compiler Collection
 Group:          Development/Languages/C and C++
@@ -159,11 +150,8 @@
 %prep
 %setup -D -n %{name}-%{version}
 pushd src/cc/libbpf
-tar xf %{SOURCE1}
+tar xf %{SOURCE1} --strip 1
 popd
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 
 %build
 # Prevent the cpp examples from compilation and installation
@@ -199,9 +187,7 @@
        -DENABLE_USDT=OFF \
 %endif
        ..
-# Remove %{?_smp_mflags} since linking static libraries consumes lots of RAM.
-# Don't add it back unless we can get rid of clang4-devel-static
-make VERBOSE=1
+make %{?_smp_mflags} VERBOSE=1
 popd
 
 # Fix up #!-lines.
@@ -234,13 +220,9 @@
 
 %postun -n libbcc0 -p /sbin/ldconfig
 
-%post -n libbpf0 -p /sbin/ldconfig
-
-%postun -n libbpf0 -p /sbin/ldconfig
-
 %files -n bcc-devel
 %{_libdir}/libbcc.so
-%{_libdir}/libbpf.so
+%{_libdir}/libbcc_bpf.so
 %dir %{_includedir}/bcc/
 %{_includedir}/bcc/*
 %{_libdir}/pkgconfig/libbcc.pc
@@ -248,10 +230,7 @@
 %files -n libbcc0
 %license LICENSE.txt
 %{_libdir}/libbcc.so.*
-
-%files -n libbpf0
-%license LICENSE.txt
-%{_libdir}/libbpf.so.*
+%{_libdir}/libbcc_bpf.so.*
 
 %files -n python2-bcc
 %{python_sitelib}/bcc*

++++++ v0.9.0.tar.gz -> v0.0.3.tar.gz ++++++
++++ 150539 lines of diff (skipped)

++++++ v0.9.0.tar.gz -> v0.10.0.tar.gz ++++++
++++ 6202 lines of diff (skipped)


Reply via email to