Commit f7c226d9 authored by Brenden Blanco's avatar Brenden Blanco

Add rpm and deb packaging for bcc-tools

Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
parent c175cf80
...@@ -34,6 +34,9 @@ pushd build ...@@ -34,6 +34,9 @@ pushd build
make install/strip DESTDIR=%{buildroot} make install/strip DESTDIR=%{buildroot}
%changelog %changelog
* Sun Nov 29 2015 Brenden Blanco <bblanco@plumgrid.com> - 0.1.3-1
- Add bcc-tools package
* Mon Oct 12 2015 Brenden Blanco <bblanco@plumgrid.com> - 0.1.2-1 * Mon Oct 12 2015 Brenden Blanco <bblanco@plumgrid.com> - 0.1.2-1
- Add better version numbering into libbcc.so - Add better version numbering into libbcc.so
...@@ -56,6 +59,11 @@ Summary: Python bindings for BPF Compiler Collection (BCC) ...@@ -56,6 +59,11 @@ Summary: Python bindings for BPF Compiler Collection (BCC)
%description -n python-bcc %description -n python-bcc
Python bindings for BPF Compiler Collection (BCC) Python bindings for BPF Compiler Collection (BCC)
%package -n bcc-tools
Summary: Command line tools for BPF Compiler Collection (BCC)
%description -n bcc-tools
Command line tools for BPF Compiler Collection (BCC)
%files -n python-bcc %files -n python-bcc
%{python_sitelib}/bcc* %{python_sitelib}/bcc*
...@@ -72,3 +80,7 @@ Python bindings for BPF Compiler Collection (BCC) ...@@ -72,3 +80,7 @@ Python bindings for BPF Compiler Collection (BCC)
%exclude /usr/share/bcc/examples/*/*.pyo %exclude /usr/share/bcc/examples/*/*.pyo
%exclude /usr/share/bcc/examples/*/*/*.pyc %exclude /usr/share/bcc/examples/*/*/*.pyc
%exclude /usr/share/bcc/examples/*/*/*.pyo %exclude /usr/share/bcc/examples/*/*/*.pyo
%files -n bcc-tools
/usr/share/bcc/tools/*
/usr/share/bcc/man/*
usr/share/bcc/tools/*
usr/share/bcc/man/*
...@@ -22,3 +22,8 @@ Package: python-bcc ...@@ -22,3 +22,8 @@ Package: python-bcc
Architecture: all Architecture: all
Depends: libbcc, python Depends: libbcc, python
Description: Python wrappers for BPF Compiler Collection (BCC) Description: Python wrappers for BPF Compiler Collection (BCC)
Package: bcc-tools
Architecture: amd64
Depends: libbcc, python
Description: Command line tools for BPF Compiler Collection (BCC)
...@@ -8,4 +8,4 @@ set(EXAMPLE_FILES biolatency_example.txt funclatency_example.txt ...@@ -8,4 +8,4 @@ set(EXAMPLE_FILES biolatency_example.txt funclatency_example.txt
softirqs_example.txt tcpaccept_example.txt vfscount_example.txt) softirqs_example.txt tcpaccept_example.txt vfscount_example.txt)
install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/tools) install(PROGRAMS ${PROGRAMS} DESTINATION share/bcc/tools)
install(FILES ${C_FILES} DESTINATION share/bcc/tools) install(FILES ${C_FILES} DESTINATION share/bcc/tools)
install(FILES ${EXAMPLE_FILES} DESTINATION share/bcc/doc/tools) install(FILES ${EXAMPLE_FILES} DESTINATION share/bcc/tools/doc)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment