Hello community,

here is the log from the commit of package bpftool for openSUSE:Factory checked 
in at 2020-01-14 21:05:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bpftool (Old)
 and      /work/SRC/openSUSE:Factory/.bpftool.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bpftool"

Tue Jan 14 21:05:38 2020 rev:2 rq:761911 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/bpftool/bpftool.changes  2019-05-15 
12:35:53.380291126 +0200
+++ /work/SRC/openSUSE:Factory/.bpftool.new.6675/bpftool.changes        
2020-01-14 21:09:05.190812950 +0100
@@ -1,0 +2,6 @@
+Wed Jan  8 16:28:37 UTC 2020 - Ludwig Nussel <[email protected]>
+
+- use optflags for building
+- build and install man pages
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ bpftool.spec ++++++
--- /var/tmp/diff_new_pack.GpiT88/_old  2020-01-14 21:09:06.554813582 +0100
+++ /var/tmp/diff_new_pack.GpiT88/_new  2020-01-14 21:09:06.558813583 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bpftool
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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/
 #
 
 
@@ -21,11 +21,12 @@
 Version:        %{version}
 Release:        0
 Summary:        Tool for inspection and manipulation of BPF programs and maps
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Development/Tools/Other
 Url:            http://www.kernel.org/
-BuildRequires:  libelf-devel
+BuildRequires:  docutils
 BuildRequires:  kernel-source
+BuildRequires:  libelf-devel
 
 %description
 bpftool allows for inspection and simple modification of BPF objects (programs
@@ -34,18 +35,20 @@
 %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 .
+sed -i -e 's/CFLAGS += -O2/CFLAGS = $(RPM_OPT_FLAGS)/' Makefile
 
 %build
 cd tools/bpf/bpftool
-%make_build feature-reallocarray=1
+%make_build V=1 feature-reallocarray=1 all doc
 
 %install
 cd tools/bpf/bpftool
-make install DESTDIR=%{buildroot} prefix=/usr
+make install doc-install DESTDIR=%{buildroot} prefix=%{_prefix} 
mandir=%{_mandir}
 
 %files
 %license GPL-2.0
 %{_sbindir}/bpftool
 %{_datadir}/bash-completion/completions/bpftool
+%{_mandir}/man?/*.gz
 
 %changelog


Reply via email to