| |
@@ -1,10 +1,12 @@
|
| |
Name: bcc
|
| |
- Version: 0.3.0
|
| |
- Release: 4%{?dist}
|
| |
+ Version: 0.4.0
|
| |
+ Release: 1%{?dist}
|
| |
Summary: BPF Compiler Collection (BCC)
|
| |
License: ASL 2.0
|
| |
URL: https://github.com/iovisor/bcc
|
| |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
| |
+ # https://github.com/iovisor/bcc/pull/1426
|
| |
+ Patch0: 0001-set-SOVERSION-for-bpf-shared.patch
|
| |
|
| |
# Arches will be included as upstream support is added and dependencies are
|
| |
# satisfied in the respective arches
|
| |
@@ -12,7 +14,7 @@
|
| |
|
| |
BuildRequires: bison, cmake >= 2.8.7, flex, libxml2-devel
|
| |
BuildRequires: python3-devel
|
| |
- BuildRequires: elfutils-libelf-devel-static
|
| |
+ BuildRequires: elfutils-libelf-devel
|
| |
BuildRequires: llvm-devel llvm-static clang-devel
|
| |
BuildRequires: ncurses-devel
|
| |
BuildRequires: pkgconfig(luajit)
|
| |
@@ -80,9 +82,9 @@
|
| |
|
| |
|
| |
%build
|
| |
- %cmake . -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3 \
|
| |
- -DLUAJIT_INCLUDE_DIR=`pkg-config --variable=includedir luajit` \
|
| |
- -DLUAJIT_LIBRARIES=`pkg-config --variable=libdir luajit`/lib`pkg-config --variable=libname luajit`.so
|
| |
+ %cmake . \
|
| |
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
| |
+ -DREVISION_LAST=%{version} -DREVISION=%{version} -DPYTHON_CMD=python3
|
| |
%make_build
|
| |
|
| |
|
| |
@@ -120,9 +122,11 @@
|
| |
%doc README.md
|
| |
%license LICENSE.txt COPYRIGHT.txt
|
| |
%{_libdir}/lib%{name}.so.*
|
| |
+ %{_libdir}/libbpf.so.*
|
| |
|
| |
%files devel
|
| |
%{_libdir}/lib%{name}.so
|
| |
+ %{_libdir}/libbpf.so
|
| |
%{_libdir}/pkgconfig/lib%{name}.pc
|
| |
%{_includedir}/%{name}/
|
| |
|
| |
@@ -144,14 +148,16 @@
|
| |
%dir %{_datadir}/%{name}/tools
|
| |
%{_datadir}/%{name}/tools/*
|
| |
%exclude %{_datadir}/%{name}/tools/old/
|
| |
- %dir %{_datadir}/%{name}/man
|
| |
- %{_datadir}/%{name}/man/*
|
| |
+ %{_datadir}/%{name}/man/
|
| |
|
| |
%files lua
|
| |
%{_bindir}/bcc-lua
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Nov 01 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.0-1
|
| |
+ - Update to 0.4.0
|
| |
+
|
| |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
| |
|
| |
Signed-off-by: Igor Gnatenko ignatenkobrain@fedoraproject.org