Open
Add set_build_flags macro in build stage to ensure correct generation of debugsource package #16
过把瘾Add on Dec 9, 2025
Add set_build_flags macro in build stage to ensure correct generation of debugsource package #16
Open
过把瘾Add on Dec 9, 2025
Merged fromkiraskyler1/bpftoolrefs/pull/16/headintosrc-openeuler/bpftoolmaster
Total: 1 files changed+5-1
@@ -1,6 +1,6 @@
1Name: bpftool1Name: bpftool
2Version: 7.2.02Version: 7.2.0
3-Release: 23+Release: 3
4Summary: Tool for inspection and manipulation of BPF programs and maps4Summary: Tool for inspection and manipulation of BPF programs and maps
5License: GPL-2.0-only5License: GPL-2.0-only
6URL: https://www.kernel.org/6URL: https://www.kernel.org/
@@ -21,6 +21,7 @@ and maps) on the system.
21%autosetup -p1 -n %{name}-%{version}21%autosetup -p1 -n %{name}-%{version}
22 22 
23%build23%build
24+%set_build_flags
24%make_build -C src V=125%make_build -C src V=1
25%make_build -C docs V=1 man26%make_build -C docs V=1 man
26 27 
@@ -38,6 +39,9 @@ mv %{buildroot}%{_datadir}/bash-completion/completions/bpftool %{buildroot}%{_sy
38%{_sysconfdir}/bash_completion.d/bpftool39%{_sysconfdir}/bash_completion.d/bpftool
39 40 
40%changelog41%changelog
42+* Tue Dec 9 2025 kiraskyler <kiraskyler@163.cn> - 7.2.0-3
43+- Add set_build_flags macro in build stage to ensure correct generation of debugsource package
44+ 
41* Mon Oct 28 2024 liwei <liwei883@huawei.com> - 7.2.0-245* Mon Oct 28 2024 liwei <liwei883@huawei.com> - 7.2.0-2
42- Add README46- Add README
43 47