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
Merged fromkiraskyler1/bpftoolrefs/pull/16/headintosrc-openeuler/bpftoolmaster
Total: 1 files changed+5-1
| @@ -1,6 +1,6 @@ | |||
| 1 | Name: bpftool | 1 | Name: bpftool |
| 2 | Version: 7.2.0 | 2 | Version: 7.2.0 |
| 3 | -Release: 2 | 3 | +Release: 3 |
| 4 | Summary: Tool for inspection and manipulation of BPF programs and maps | 4 | Summary: Tool for inspection and manipulation of BPF programs and maps |
| 5 | License: GPL-2.0-only | 5 | License: GPL-2.0-only |
| 6 | URL: https://www.kernel.org/ | 6 | URL: 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 | %build | 23 | %build |
| 24 | +%set_build_flags | ||
| 24 | %make_build -C src V=1 | 25 | %make_build -C src V=1 |
| 25 | %make_build -C docs V=1 man | 26 | %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/bpftool | 39 | %{_sysconfdir}/bash_completion.d/bpftool |
| 39 | 40 | ||
| 40 | %changelog | 41 | %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-2 | 45 | * Mon Oct 28 2024 liwei <liwei883@huawei.com> - 7.2.0-2 |
| 42 | - Add README | 46 | - Add README |
| 43 | 47 | ||