Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bpftool for openSUSE:Factory checked in at 2022-04-13 21:04:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bpftool (Old) and /work/SRC/openSUSE:Factory/.bpftool.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bpftool" Wed Apr 13 21:04:01 2022 rev:4 rq:969146 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/bpftool/bpftool.changes 2021-10-16 22:46:58.860658588 +0200 +++ /work/SRC/openSUSE:Factory/.bpftool.new.1900/bpftool.changes 2022-04-13 21:04:04.260522303 +0200 @@ -1,0 +2,5 @@ +Fri Apr 8 15:15:39 UTC 2022 - Dirk M??ller <[email protected]> + +- add rebuild subpackage to ensure rebuild in TW + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bpftool.spec ++++++ --- /var/tmp/diff_new_pack.2uTIWB/_old 2022-04-13 21:04:04.808522741 +0200 +++ /var/tmp/diff_new_pack.2uTIWB/_new 2022-04-13 21:04:04.824522754 +0200 @@ -1,7 +1,7 @@ # # spec file for package bpftool # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -Name: bpftool %define version %(rpm -q --qf '%%{VERSION}' kernel-source) +Name: bpftool Version: %{version} Release: 0 Summary: Tool for inspection and manipulation of BPF programs and maps License: GPL-2.0-only Group: Development/Tools/Other -URL: http://www.kernel.org/ +URL: https://www.kernel.org/ BuildRequires: binutils-devel BuildRequires: docutils BuildRequires: kernel-source @@ -33,14 +33,25 @@ bpftool allows for inspection and simple modification of BPF objects (programs and maps) on the system. +%package rebuild +Summary: Empty package to ensure rebuilding bpftool in OBS +Group: System/Monitoring +%requires_eq kernel-source + +%description rebuild +This is empty package that ensures bpftool is rebuilt every time +kernel-default is rebuilt in OBS. + +There is no reason to install this package. + %prep -(cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} kernel/bpf lib) | tar -xf - -cp /usr/src/linux/LICENSES/preferred/GPL-2.0 . +(cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,Makefile} kernel/bpf lib) | tar -xf - +cp %{_prefix}/src/linux/LICENSES/preferred/GPL-2.0 . sed -i -e 's/CFLAGS += -O2/CFLAGS = $(RPM_OPT_FLAGS)/' Makefile %build cd tools/bpf/bpftool -%make_build V=1 \ +%make_build \ feature-reallocarray=1 \ feature-libbfd-liberty=1 \ feature-disassembler-four-args=1 \ @@ -57,4 +68,7 @@ %{_datadir}/bash-completion/completions/bpftool %{_mandir}/man?/*.gz +%files rebuild +%license GPL-2.0 + %changelog
