Fix FTBFS and stop stripping symbols
- Fix FTBFS due to cmake wide changes #1863295 - Fix 'bpftrace symbols are stripped' #1865787
This commit is contained in:
parent
fb6490bdf2
commit
9d461237bb
@ -1,6 +1,6 @@
|
|||||||
Name: bpftrace
|
Name: bpftrace
|
||||||
Version: 0.11.0
|
Version: 0.11.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: High-level tracing language for Linux eBPF
|
Summary: High-level tracing language for Linux eBPF
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
|
|
||||||
@ -45,11 +45,17 @@ and predecessor tracers such as DTrace and SystemTap
|
|||||||
-DBUILD_TESTING:BOOL=OFF \
|
-DBUILD_TESTING:BOOL=OFF \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DLIBBCC_LIBRARIES:PATH=/usr/lib64/libbcc-no-libbpf.so
|
-DLIBBCC_LIBRARIES:PATH=/usr/lib64/libbcc-no-libbpf.so
|
||||||
%make_build
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
# The post hooks strip the binary which removes
|
||||||
|
# the BEGIN_trigger and END_trigger functions
|
||||||
|
# which are needed for the BEGIN and END probes
|
||||||
|
%global __os_install_post %{nil}
|
||||||
|
%global _find_debuginfo_opts -g
|
||||||
|
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
# Fix shebangs (https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines)
|
# Fix shebangs (https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines)
|
||||||
find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
||||||
@ -70,6 +76,10 @@ find %{buildroot}%{_datadir}/%{name}/tools -type f -exec \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 04 2020 Augusto Caringi <acaringi@redhat.com> - 0.11.0-4
|
||||||
|
- Fix FTBFS due to cmake wide changes #1863295
|
||||||
|
- Fix 'bpftrace symbols are stripped' #1865787
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-3
|
||||||
- Second attempt - Rebuilt for
|
- Second attempt - Rebuilt for
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user