[packages/bcc-bpf] package manuals to system mandir; verbose man files

glen glen at pld-linux.org
Sun Dec 30 23:27:17 CET 2018


commit d5f6dab6cf84899c76fabe3be573c2acac373fd5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Dec 31 00:20:51 2018 +0200

    package manuals to system mandir; verbose man files

 bcc-bpf.spec | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 mandir.patch |   8 +++++
 2 files changed, 115 insertions(+), 1 deletion(-)
---
diff --git a/bcc-bpf.spec b/bcc-bpf.spec
index 2bec582..bb70fcc 100644
--- a/bcc-bpf.spec
+++ b/bcc-bpf.spec
@@ -16,6 +16,7 @@ License:	Apache v2.0
 Group:		Applications
 Source0:	https://github.com/iovisor/bcc/archive/v%{version}/bcc-%{version}.tar.gz
 # Source0-md5:	79a445aa6542bcc260fd38af3402a77d
+Patch0:		mandir.patch
 URL:		https://iovisor.github.io/bcc/
 BuildRequires:	bison
 BuildRequires:	cmake >= 2.8.7
@@ -81,6 +82,7 @@ Standalone tool to run BCC tracers written in Lua
 
 %prep
 %setup -q -n bcc-%{version}
+%patch0 -p1
 
 %build
 install -d build
@@ -124,8 +126,112 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/bcc
 %{_datadir}/bcc/examples
 %{_datadir}/bcc/introspection
-%{_datadir}/bcc/man
 %{_datadir}/bcc/tools
+%{_mandir}/man8/argdist.8*
+%{_mandir}/man8/bashreadline.8*
+%{_mandir}/man8/biolatency.8*
+%{_mandir}/man8/biosnoop.8*
+%{_mandir}/man8/biotop.8*
+%{_mandir}/man8/bitesize.8*
+%{_mandir}/man8/bpflist.8*
+%{_mandir}/man8/bps.8*
+%{_mandir}/man8/btrfsdist.8*
+%{_mandir}/man8/btrfsslower.8*
+%{_mandir}/man8/cachestat.8*
+%{_mandir}/man8/cachetop.8*
+%{_mandir}/man8/capable.8*
+%{_mandir}/man8/cobjnew.8*
+%{_mandir}/man8/cpudist.8*
+%{_mandir}/man8/cpuunclaimed.8*
+%{_mandir}/man8/criticalstat.8*
+%{_mandir}/man8/dbslower.8*
+%{_mandir}/man8/dbstat.8*
+%{_mandir}/man8/dcsnoop.8*
+%{_mandir}/man8/dcstat.8*
+%{_mandir}/man8/deadlock_detector.8*
+%{_mandir}/man8/execsnoop.8*
+%{_mandir}/man8/ext4dist.8*
+%{_mandir}/man8/ext4slower.8*
+%{_mandir}/man8/filelife.8*
+%{_mandir}/man8/fileslower.8*
+%{_mandir}/man8/filetop.8*
+%{_mandir}/man8/funccount.8*
+%{_mandir}/man8/funclatency.8*
+%{_mandir}/man8/funcslower.8*
+%{_mandir}/man8/gethostlatency.8*
+%{_mandir}/man8/hardirqs.8*
+%{_mandir}/man8/inject.8*
+%{_mandir}/man8/javacalls.8*
+%{_mandir}/man8/javaflow.8*
+%{_mandir}/man8/javagc.8*
+%{_mandir}/man8/javaobjnew.8*
+%{_mandir}/man8/javastat.8*
+%{_mandir}/man8/javathreads.8*
+%{_mandir}/man8/killsnoop.8*
+%{_mandir}/man8/llcstat.8*
+%{_mandir}/man8/mdflush.8*
+%{_mandir}/man8/memleak.8*
+%{_mandir}/man8/mountsnoop.8*
+%{_mandir}/man8/mysqld_qslower.8*
+%{_mandir}/man8/nfsdist.8*
+%{_mandir}/man8/nfsslower.8*
+%{_mandir}/man8/nodegc.8*
+%{_mandir}/man8/nodestat.8*
+%{_mandir}/man8/offcputime.8*
+%{_mandir}/man8/offwaketime.8*
+%{_mandir}/man8/oomkill.8*
+%{_mandir}/man8/opensnoop.8*
+%{_mandir}/man8/phpcalls.8*
+%{_mandir}/man8/phpflow.8*
+%{_mandir}/man8/phpstat.8*
+%{_mandir}/man8/pidpersec.8*
+%{_mandir}/man8/profile.8*
+%{_mandir}/man8/pythoncalls.8*
+%{_mandir}/man8/pythonflow.8*
+%{_mandir}/man8/pythongc.8*
+%{_mandir}/man8/pythonstat.8*
+%{_mandir}/man8/reset-trace.8*
+%{_mandir}/man8/rubycalls.8*
+%{_mandir}/man8/rubyflow.8*
+%{_mandir}/man8/rubygc.8*
+%{_mandir}/man8/rubyobjnew.8*
+%{_mandir}/man8/rubystat.8*
+%{_mandir}/man8/runqlat.8*
+%{_mandir}/man8/runqlen.8*
+%{_mandir}/man8/runqslower.8*
+%{_mandir}/man8/slabratetop.8*
+%{_mandir}/man8/softirqs.8*
+%{_mandir}/man8/sslsniff.8*
+%{_mandir}/man8/stackcount.8*
+%{_mandir}/man8/statsnoop.8*
+%{_mandir}/man8/syncsnoop.8*
+%{_mandir}/man8/syscount.8*
+%{_mandir}/man8/tcpaccept.8*
+%{_mandir}/man8/tcpconnect.8*
+%{_mandir}/man8/tcpconnlat.8*
+%{_mandir}/man8/tcpdrop.8*
+%{_mandir}/man8/tcplife.8*
+%{_mandir}/man8/tcpretrans.8*
+%{_mandir}/man8/tcpstates.8*
+%{_mandir}/man8/tcpsubnet.8*
+%{_mandir}/man8/tcptop.8*
+%{_mandir}/man8/tcptracer.8*
+%{_mandir}/man8/tplist.8*
+%{_mandir}/man8/trace.8*
+%{_mandir}/man8/ttysnoop.8*
+%{_mandir}/man8/ucalls.8*
+%{_mandir}/man8/uflow.8*
+%{_mandir}/man8/ugc.8*
+%{_mandir}/man8/uobjnew.8*
+%{_mandir}/man8/ustat.8*
+%{_mandir}/man8/uthreads.8*
+%{_mandir}/man8/vfscount.8*
+%{_mandir}/man8/vfsstat.8*
+%{_mandir}/man8/wakeuptime.8*
+%{_mandir}/man8/xfsdist.8*
+%{_mandir}/man8/xfsslower.8*
+%{_mandir}/man8/zfsdist.8*
+%{_mandir}/man8/zfsslower.8*
 
 %if %{with lua}
 %files -n lua-%{name}
diff --git a/mandir.patch b/mandir.patch
new file mode 100644
index 0000000..31e21b5
--- /dev/null
+++ b/mandir.patch
@@ -0,0 +1,8 @@
+--- bcc-0.7.0/man/man8/CMakeLists.txt~	2018-09-05 03:36:40.000000000 +0300
++++ bcc-0.7.0/man/man8/CMakeLists.txt	2018-12-30 23:37:50.110062719 +0200
+@@ -9,4 +9,4 @@
+   list(APPEND GZFILES "${CMAKE_CURRENT_BINARY_DIR}/${NAME}.gz")
+ endforeach()
+ add_custom_target(man ALL DEPENDS ${GZFILES})
+-install(FILES ${GZFILES} DESTINATION share/bcc/man/man8)
++install(FILES ${GZFILES} DESTINATION share/man/man8)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcc-bpf.git/commitdiff/d5f6dab6cf84899c76fabe3be573c2acac373fd5



More information about the pld-cvs-commit mailing list