]> sourceware.org Git - systemtap.git/blame - systemtap.spec
step-prep: on debian/ubuntu machines, attempt "apt-get -y install"
[systemtap.git] / systemtap.spec
CommitLineData
0f887b7f 1%{!?with_sqlite: %global with_sqlite 0%{?fedora} >= 17 || 0%{?rhel} >= 7}
0dfed9e3
FCE
2# prefer prebuilt docs
3%{!?with_docs: %global with_docs 0}
6706593f 4%{!?with_htmldocs: %global with_htmldocs 0}
f7420048 5%{!?with_monitor: %global with_monitor 1}
8d238932 6# crash is not available
29f15b2e 7%ifarch ppc ppc64 %{sparc} aarch64 ppc64le %{mips}
8d238932
LB
8%{!?with_crash: %global with_crash 0}
9%else
38105915 10%{!?with_crash: %global with_crash 1}
8d238932 11%endif
11059140
RM
12%{!?with_rpm: %global with_rpm 1}
13%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
e050d62f 14%{!?elfutils_version: %global elfutils_version 0.142}
11059140 15%{!?pie_supported: %global pie_supported 1}
11059140 16%{!?with_boost: %global with_boost 0}
ebf1032e 17%ifarch %{ix86} x86_64 ppc ppc64
a40f6057 18%{!?with_dyninst: %global with_dyninst 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
605083f9
WC
19%else
20%{!?with_dyninst: %global with_dyninst 0}
21%endif
748e425b 22%{!?with_bpf: %global with_bpf 0%{?fedora} >= 22 || 0%{?rhel} >= 8}
515f4553 23%{!?with_systemd: %global with_systemd 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
7f6c7a0b
FCE
24%{!?with_emacsvim: %global with_emacsvim 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
25%{!?with_java: %global with_java 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
765a5d60
JL
26%{!?with_virthost: %global with_virthost 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
27%{!?with_virtguest: %global with_virtguest 1}
b8d6168f 28%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 6}
25c72c50
DS
29%ifarch x86_64
30%{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9a9a6ff8 31%{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
25c72c50
DS
32%else
33%{!?with_mokutil: %global with_mokutil 0}
9a9a6ff8 34%{!?with_openssl: %global with_openssl 0}
25c72c50 35%endif
d0eeef5f 36%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
d6145cec 37%{!?with_python3: %global with_python3 0%{?fedora} >= 23 || 0%{?rhel} > 7}
470a81c8
PV
38%{!?with_python2_probes: %global with_python2_probes (0%{?fedora} <= 28 && 0%{?rhel} <= 7)}
39%{!?with_python3_probes: %global with_python3_probes (0%{?fedora} >= 23 || 0%{?rhel} > 7)}
696a4ac1 40%{!?with_httpd: %global with_httpd 0}
1074f79d 41
b61a4d61 42%ifarch ppc64le aarch64
662747f9
BB
43%global with_virthost 0
44%endif
45
4a618408
JL
46%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
47 %define initdir %{_initddir}
48%else # RHEL5 doesn't know _initddir
49 %define initdir %{_initrddir}
50%endif
51
765a5d60 52%if %{with_virtguest}
ce532fda
JL
53 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
54 %define udevrulesdir /usr/lib/udev/rules.d
765a5d60 55 %else
ce532fda
JL
56 %if 0%{?rhel} >= 6
57 %define udevrulesdir /lib/udev/rules.d
58 %else # RHEL5
59 %define udevrulesdir /etc/udev/rules.d
60 %endif
765a5d60
JL
61 %endif
62%endif
63
b8d6168f
MC
64%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
65 %define dracutstap %{_prefix}/lib/dracut/modules.d/99stap
66%else
67 %define dracutstap %{_prefix}/share/dracut/modules.d/99stap
68%endif
69
1d4d806c 70%if 0%{?rhel} == 6 || 0%{?rhel} == 7
b8d6168f
MC
71 %define dracutbindir /sbin
72%else
73 %define dracutbindir %{_bindir}
74%endif
6a06bc73 75
9297d41f
MC
76%if 0%{?rhel} == 6
77 %{!?_rpmmacrodir: %define _rpmmacrodir /etc/rpm/}
78%else
79 %{!?_rpmmacrodir: %define _rpmmacrodir %{_rpmconfigdir}/macros.d}
80%endif
81
e4f9f015 82# To avoid testsuite/*/*.stp has shebang which doesn't start with '/'
3b029fcc 83%define __brp_mangle_shebangs_exclude_from .stp$
e4f9f015 84
a2c9eba7 85Name: systemtap
dd57c738 86Version: 4.1
72652d5d 87Release: 1%{?release_override}%{?dist}
59b30bda 88# for version, see also configure.ac
016a35ea
FCE
89
90
91# Packaging abstract:
92#
93# systemtap empty req:-client req:-devel
94# systemtap-server /usr/bin/stap-server*, req:-devel
95# systemtap-devel /usr/bin/stap, runtime, tapset, req:kernel-devel
4b682f2a 96# systemtap-runtime /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
016a35ea 97# systemtap-client /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
6a06bc73 98# systemtap-initscript /etc/init.d/systemtap, dracut module, req:systemtap
016a35ea
FCE
99# systemtap-sdt-devel /usr/include/sys/sdt.h /usr/bin/dtrace
100# systemtap-testsuite /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
36cfba7c 101# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
765a5d60
JL
102# systemtap-runtime-virthost /usr/bin/stapvirt, req:libvirt req:libxml2
103# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
30354895
DS
104# systemtap-runtime-python2 HelperSDT python2 module, req:-runtime
105# systemtap-runtime-python3 HelperSDT python3 module, req:-runtime
016a35ea
FCE
106#
107# Typical scenarios:
108#
109# stap-client: systemtap-client
110# stap-server: systemtap-server
111# local user: systemtap
112#
113# Unusual scenarios:
1553f7e3 114#
016a35ea
FCE
115# intermediary stap-client for --remote: systemtap-client (-runtime unused)
116# intermediary stap-server for --use-server: systemtap-server (-devel unused)
117
118Summary: Programmable system-wide instrumentation system
7d838f63 119Group: Development/System
6a1cd8a7 120License: GPLv2+
a2c9eba7 121URL: http://sourceware.org/systemtap/
60e99141 122Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
a2c9eba7 123
016a35ea 124# Build*
4c895683 125BuildRequires: gcc-c++
b8550627 126BuildRequires: cpio
48fa6b5e 127BuildRequires: gettext-devel
756c7cf2
FCE
128BuildRequires: pkgconfig(nss)
129BuildRequires: pkgconfig(avahi-client)
5ecd6999 130%if %{with_dyninst}
0f3edcb9 131BuildRequires: dyninst-devel >= 8.0
756c7cf2 132BuildRequires: pkgconfig(libselinux)
5ecd6999 133%endif
a87d23e3 134%if %{with_sqlite}
572f73b5 135BuildRequires: sqlite-devel > 3.7
d8c3d602 136%endif
f7420048 137%if %{with_monitor}
756c7cf2
FCE
138BuildRequires: pkgconfig(json-c)
139BuildRequires: pkgconfig(ncurses)
f7420048 140%endif
10a7ba12
IZ
141%if %{with_systemd}
142BuildRequires: systemd
143%endif
469c1a1b
FCE
144# Needed for libstd++ < 4.0, without <tr1/memory>
145%if %{with_boost}
146BuildRequires: boost-devel
147%endif
a87d23e3 148%if %{with_crash}
d2995e6f 149BuildRequires: crash-devel zlib-devel
1e0716d3 150%endif
2ed04863 151%if %{with_rpm}
71302939 152BuildRequires: rpm-devel
2ed04863 153%endif
a87d23e3 154%if %{with_bundled_elfutils}
7d838f63
MH
155Source1: elfutils-%{elfutils_version}.tar.gz
156Patch1: elfutils-portability.patch
d79591b3 157BuildRequires: m4
11059140 158%global setup_elfutils -a1
a2c9eba7
RM
159%else
160BuildRequires: elfutils-devel >= %{elfutils_version}
7d838f63 161%endif
465e8fbf 162%if %{with_docs}
7012fdd5 163BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf
eb8eb9bc 164%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
2ed848e0 165BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
eb8eb9bc 166%endif
7b19719f
FCE
167# For the html.sty mentioned in the .tex files, even though latex2html is
168# not run during the build, only during manual scripts/update-docs runs:
169BuildRequires: latex2html
6706593f 170%if %{with_htmldocs}
6275c8d7
DS
171# On F10, xmlto's pdf support was broken off into a sub-package,
172# called 'xmlto-tex'. To avoid a specific F10 BuildReq, we'll do a
173# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
174BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
465e8fbf 175%endif
6706593f 176%endif
65635f34
FCE
177%if %{with_emacsvim}
178BuildRequires: emacs
179%endif
fd05c448 180%if %{with_java}
36cfba7c 181BuildRequires: jpackage-utils java-devel
fd05c448 182%endif
765a5d60 183%if %{with_virthost}
756c7cf2
FCE
184# BuildRequires: libvirt-devel >= 1.0.2
185BuildRequires: pkgconfig(libvirt)
186BuildRequires: pkgconfig(libxml-2.0)
765a5d60 187%endif
16314eed
DS
188BuildRequires: readline-devel
189%if 0%{?rhel} <= 5
756c7cf2 190BuildRequires: pkgconfig(ncurses)
16314eed 191%endif
30354895 192%if %{with_python2_probes}
f312f87e 193BuildRequires: python2-devel
09cd42d2 194%if 0%{?fedora} >= 1
f312f87e 195BuildRequires: python2-setuptools
09cd42d2
MC
196%else
197BuildRequires: python-setuptools
198%endif
30354895
DS
199%endif
200%if %{with_python3_probes}
201BuildRequires: python3-devel
c11fe12e 202BuildRequires: python3-setuptools
30354895 203%endif
14df5fde 204
696a4ac1
DS
205%if %{with_httpd}
206BuildRequires: libmicrohttpd-devel
207BuildRequires: libuuid-devel
208%endif
209
016a35ea
FCE
210# Install requirements
211Requires: systemtap-client = %{version}-%{release}
212Requires: systemtap-devel = %{version}-%{release}
213
7d838f63 214%description
f89ff3e2 215SystemTap is an instrumentation system for systems running Linux.
016a35ea
FCE
216Developers can write instrumentation scripts to collect data on
217the operation of the system. The base systemtap package contains/requires
218the components needed to locally develop and execute systemtap scripts.
219
220# ------------------------------------------------------------------------
221
222%package server
223Summary: Instrumentation System Server
224Group: Development/System
225License: GPLv2+
226URL: http://sourceware.org/systemtap/
227Requires: systemtap-devel = %{version}-%{release}
7915b4f7
FCE
228Conflicts: systemtap-devel < %{version}-%{release}
229Conflicts: systemtap-runtime < %{version}-%{release}
230Conflicts: systemtap-client < %{version}-%{release}
4d589cc1 231Requires: nss coreutils
016a35ea
FCE
232Requires: zip unzip
233Requires(pre): shadow-utils
234Requires(post): chkconfig
235Requires(preun): chkconfig
016a35ea 236BuildRequires: nss-devel avahi-devel
9a9a6ff8
DS
237%if %{with_openssl}
238Requires: openssl
239%endif
10a7ba12
IZ
240%if %{with_systemd}
241Requires: systemd
68708800
SM
242%else
243Requires(preun): initscripts
244Requires(postun): initscripts
10a7ba12 245%endif
016a35ea
FCE
246
247%description server
248This is the remote script compilation server component of systemtap.
249It announces itself to nearby clients with avahi (if available), and
250compiles systemtap scripts to kernel objects on their demand.
251
252
253%package devel
254Summary: Programmable system-wide instrumentation system - development headers, tools
255Group: Development/System
256License: GPLv2+
257URL: http://sourceware.org/systemtap/
19eace0c
DS
258# The virtual provide 'kernel-devel-uname-r' tries to get the right
259# kernel variant (kernel-PAE, kernel-debug, etc.) devel package
260# installed.
261Requires: kernel-devel-uname-r
262%{?fedora:Suggests: kernel-devel}
4c895683 263Requires: gcc make
7915b4f7
FCE
264Conflicts: systemtap-client < %{version}-%{release}
265Conflicts: systemtap-server < %{version}-%{release}
266Conflicts: systemtap-runtime < %{version}-%{release}
016a35ea
FCE
267# Suggest: kernel-debuginfo
268
269%description devel
270This package contains the components needed to compile a systemtap
271script from source form into executable (.ko) forms. It may be
272installed on a self-contained developer workstation (along with the
273systemtap-client and systemtap-runtime packages), or on a dedicated
274remote server (alongside the systemtap-server package). It includes
275a copy of the standard tapset library and the runtime library C files.
276
7d838f63 277
a63a95dc 278%package runtime
016a35ea 279Summary: Programmable system-wide instrumentation system - runtime
a63a95dc 280Group: Development/System
6a1cd8a7 281License: GPLv2+
a63a95dc 282URL: http://sourceware.org/systemtap/
378a5245 283Requires(pre): shadow-utils
7915b4f7
FCE
284Conflicts: systemtap-devel < %{version}-%{release}
285Conflicts: systemtap-server < %{version}-%{release}
286Conflicts: systemtap-client < %{version}-%{release}
a63a95dc
DS
287
288%description runtime
016a35ea
FCE
289SystemTap runtime contains the components needed to execute
290a systemtap script that was already compiled into a module
291using a local or remote systemtap-devel installation.
a63a95dc 292
016a35ea
FCE
293
294%package client
295Summary: Programmable system-wide instrumentation system - client
8f3c45cc
FCE
296Group: Development/System
297License: GPLv2+
298URL: http://sourceware.org/systemtap/
016a35ea
FCE
299Requires: zip unzip
300Requires: systemtap-runtime = %{version}-%{release}
301Requires: coreutils grep sed unzip zip
302Requires: openssh-clients
7915b4f7
FCE
303Conflicts: systemtap-devel < %{version}-%{release}
304Conflicts: systemtap-server < %{version}-%{release}
305Conflicts: systemtap-runtime < %{version}-%{release}
25c72c50
DS
306%if %{with_mokutil}
307Requires: mokutil
308%endif
8f3c45cc 309
016a35ea 310%description client
1553f7e3
LB
311This package contains/requires the components needed to develop
312systemtap scripts, and compile them using a local systemtap-devel
016a35ea
FCE
313or a remote systemtap-server installation, then run them using a
314local or remote systemtap-runtime. It includes script samples and
315documentation, and a copy of the tapset library for reference.
8f3c45cc 316
016a35ea
FCE
317
318%package initscript
319Summary: Systemtap Initscripts
d9d14e20
DB
320Group: Development/System
321License: GPLv2+
322URL: http://sourceware.org/systemtap/
ad12652e 323Requires: systemtap = %{version}-%{release}
e2a741be
DB
324Requires(post): chkconfig
325Requires(preun): chkconfig
68708800
SM
326%if %{with_systemd}
327Requires: systemd
328%else
e2a741be
DB
329Requires(preun): initscripts
330Requires(postun): initscripts
68708800 331%endif
d9d14e20 332
016a35ea 333%description initscript
6a06bc73
JL
334This package includes a SysVinit script to launch selected systemtap
335scripts at system startup, along with a dracut module for early
336boot-time probing if supported.
016a35ea 337
d9d14e20 338
b899aa79
SC
339%package sdt-devel
340Summary: Static probe support tools
341Group: Development/System
920b103a 342License: GPLv2+ and Public Domain
b899aa79 343URL: http://sourceware.org/systemtap/
d0eeef5f 344%if %{with_pyparsing}
0a742545
FCE
345%if %{with_python3}
346Requires: python3-pyparsing
347%else
089afb20
MC
348%if 0%{?rhel} >= 7
349Requires: pyparsing
350%else
f312f87e 351Requires: python2-pyparsing
d0eeef5f 352%endif
0a742545 353%endif
089afb20 354%endif
b899aa79
SC
355
356%description sdt-devel
016a35ea
FCE
357This package includes the <sys/sdt.h> header file used for static
358instrumentation compiled into userspace programs and libraries, along
359with the optional dtrace-compatibility preprocessor to process related
360.d files into tracing-macro-laden .h headers.
b899aa79 361
016a35ea
FCE
362
363%package testsuite
364Summary: Instrumentation System Testsuite
9a8d8be3
MH
365Group: Development/System
366License: GPLv2+
367URL: http://sourceware.org/systemtap/
016a35ea
FCE
368Requires: systemtap = %{version}-%{release}
369Requires: systemtap-sdt-devel = %{version}-%{release}
d6d8634e 370Requires: systemtap-server = %{version}-%{release}
cf638735 371Requires: dejagnu which elfutils grep nc
4c895683 372Requires: gcc gcc-c++ make glibc-devel
c157d058
DS
373# testsuite/systemtap.base/ptrace.exp needs strace
374Requires: strace
9564c81a
DS
375# testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
376# that provides nc has changed over time (from 'nc' to
377# 'nmap-ncat'). So, we'll do a file-based require.
378Requires: /usr/bin/nc
70afe224 379%ifnarch ia64 ppc64le aarch64
9d0b65fe
FCE
380%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
381# no prelink
382%else
cf638735
SC
383Requires: prelink
384%endif
9d0b65fe 385%endif
d6d8634e
DS
386# testsuite/systemtap.server/client.exp needs avahi
387Requires: avahi
388%if %{with_crash}
389# testsuite/systemtap.base/crash.exp needs crash
390Requires: crash
391%endif
eaa3bf2e
FCE
392%if %{with_java}
393Requires: systemtap-runtime-java = %{version}-%{release}
394%endif
30354895
DS
395%if %{with_python2_probes}
396Requires: systemtap-runtime-python2 = %{version}-%{release}
397%endif
398%if %{with_python3_probes}
399Requires: systemtap-runtime-python3 = %{version}-%{release}
400%endif
07547775 401%ifarch x86_64
e2d574cc 402Requires: /usr/lib/libc.so
b9770214
FCE
403# ... and /usr/lib/libgcc_s.so.*
404# ... and /usr/lib/libstdc++.so.*
4c895683 405%endif
574cf27a
SC
406%if 0%{?fedora} >= 18
407Requires: stress
408%endif
6965b69a
DS
409# The following "meta" files for the systemtap examples run "perf":
410# testsuite/systemtap.examples/hw_watch_addr.meta
411# testsuite/systemtap.examples/memory/hw_watch_sym.meta
412Requires: perf
016a35ea
FCE
413
414%description testsuite
415This package includes the dejagnu-based systemtap stress self-testing
416suite. This may be used by system administrators to thoroughly check
417systemtap on the current system.
9a8d8be3 418
9a8d8be3 419
36cfba7c
SM
420%if %{with_java}
421%package runtime-java
422Summary: Systemtap Java Runtime Support
423Group: Development/System
424License: GPLv2+
425URL: http://sourceware.org/systemtap/
426Requires: systemtap-runtime = %{version}-%{release}
d885563b 427Requires: byteman > 2.0
0973594b 428Requires: iproute
36cfba7c
SM
429
430%description runtime-java
431This package includes support files needed to run systemtap scripts
4d9ce48c 432that probe Java processes running on the OpenJDK runtimes using Byteman.
36cfba7c
SM
433%endif
434
30354895
DS
435%if %{with_python2_probes}
436%package runtime-python2
437Summary: Systemtap Python 2 Runtime Support
438Group: Development/System
439License: GPLv2+
440URL: http://sourceware.org/systemtap/
441Requires: systemtap-runtime = %{version}-%{release}
442
443%description runtime-python2
444This package includes support files needed to run systemtap scripts
445that probe python 2 processes.
446%endif
447
448%if %{with_python3_probes}
449%package runtime-python3
450Summary: Systemtap Python 3 Runtime Support
451Group: Development/System
452License: GPLv2+
453URL: http://sourceware.org/systemtap/
454Requires: systemtap-runtime = %{version}-%{release}
455
470a81c8
PV
456%if ! (%{with_python2_probes})
457# Provide an clean upgrade path when the python2 package is removed
458Obsoletes: %{name}-runtime-python2 < %{version}-%{release}
459%endif
460
30354895
DS
461%description runtime-python3
462This package includes support files needed to run systemtap scripts
463that probe python 3 processes.
464%endif
465
09bb4384 466%if %{with_python3}
b8550627 467%package exporter
09bb4384
AM
468Summary: Systemtap-prometheus interoperation mechanism
469Group: Development/System
470License: GPLv2+
471URL: http://sourceware.org/systemtap/
472Requires: systemtap-runtime = %{version}-%{release}
473
b8550627 474%description exporter
09bb4384
AM
475This package includes files for a systemd service that manages
476systemtap sessions and relays prometheus metrics from the sessions
477to remote requesters on demand.
478%endif
479
765a5d60
JL
480%if %{with_virthost}
481%package runtime-virthost
482Summary: Systemtap Cross-VM Instrumentation - host
483Group: Development/System
484License: GPLv2+
485URL: http://sourceware.org/systemtap/
486Requires: libvirt >= 1.0.2
487Requires: libxml2
488
489%description runtime-virthost
490This package includes the components required to run systemtap scripts
491inside a libvirt-managed domain from the host without using a network
492connection.
493%endif
494
495%if %{with_virtguest}
496%package runtime-virtguest
497Summary: Systemtap Cross-VM Instrumentation - guest
498Group: Development/System
499License: GPLv2+
500URL: http://sourceware.org/systemtap/
501Requires: systemtap-runtime = %{version}-%{release}
502%if %{with_systemd}
503Requires(post): findutils coreutils
504Requires(preun): grep coreutils
505Requires(postun): grep coreutils
506%else
507Requires(post): chkconfig initscripts
508Requires(preun): chkconfig initscripts
509Requires(postun): initscripts
510%endif
511
512%description runtime-virtguest
513This package installs the services necessary on a virtual machine for a
514systemtap-runtime-virthost machine to execute systemtap scripts.
515%endif
36cfba7c 516
016a35ea
FCE
517# ------------------------------------------------------------------------
518
7d838f63 519%prep
a2c9eba7
RM
520%setup -q %{?setup_elfutils}
521
a87d23e3 522%if %{with_bundled_elfutils}
7d838f63
MH
523cd elfutils-%{elfutils_version}
524%patch1 -p1
a2c9eba7
RM
525sleep 1
526find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
527sleep 1
528find . \( -name configure -o -name config.h.in \) -print | xargs touch
7d838f63
MH
529cd ..
530%endif
531
532%build
a2c9eba7 533
a87d23e3 534%if %{with_bundled_elfutils}
7d838f63 535# Build our own copy of elfutils.
11059140 536%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
a2c9eba7
RM
537
538# We have to prevent the standard dependency generation from identifying
539# our private elfutils libraries in our provides and requires.
11059140
RM
540%global _use_internal_dependency_generator 0
541%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
542%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
543%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
4dbd685d
RM
544
545# This will be needed for running stap when not installed, for the test suite.
11059140 546%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
7d838f63
MH
547%endif
548
5ecd6999
JS
549# Enable/disable the dyninst pure-userspace backend
550%if %{with_dyninst}
551%global dyninst_config --with-dyninst
552%else
553%global dyninst_config --without-dyninst
554%endif
555
9921a199 556# Enable/disable the sqlite coverage testing support
a87d23e3 557%if %{with_sqlite}
11059140 558%global sqlite_config --enable-sqlite
9921a199 559%else
11059140 560%global sqlite_config --disable-sqlite
d8c3d602
WC
561%endif
562
a87d23e3
DS
563# Enable/disable the crash extension
564%if %{with_crash}
11059140 565%global crash_config --enable-crash
a87d23e3 566%else
11059140 567%global crash_config --disable-crash
a87d23e3
DS
568%endif
569
2ed04863
WC
570# Enable/disable the code to find and suggest needed rpms
571%if %{with_rpm}
11059140 572%global rpm_config --with-rpm
2ed04863 573%else
11059140 574%global rpm_config --without-rpm
2ed04863
WC
575%endif
576
465e8fbf 577%if %{with_docs}
6706593f
FL
578%if %{with_htmldocs}
579%global docs_config --enable-docs --enable-htmldocs
580%else
581%global docs_config --enable-docs --disable-htmldocs
582%endif
465e8fbf 583%else
0dfed9e3 584%global docs_config --enable-docs=prebuilt
465e8fbf
FCE
585%endif
586
e1e3ba36
RA
587# Enable pie as configure defaults to disabling it
588%if %{pie_supported}
11059140 589%global pie_config --enable-pie
e1e3ba36 590%else
11059140 591%global pie_config --disable-pie
e1e3ba36 592%endif
465e8fbf 593
53ade4da 594
fd05c448 595%if %{with_java}
26703c63 596%global java_config --with-java=%{_jvmdir}/java
fd05c448 597%else
26703c63 598%global java_config --without-java
fd05c448 599%endif
465e8fbf 600
30354895
DS
601%if %{with_python3}
602%global python3_config --with-python3
603%else
604%global python3_config --without-python3
605%endif
606%if %{with_python2_probes}
607%global python2_probes_config --with-python2-probes
608%else
609%global python2_probes_config --without-python2-probes
610%endif
611%if %{with_python3_probes}
612%global python3_probes_config --with-python3-probes
613%else
614%global python3_probes_config --without-python3-probes
615%endif
616
b0c670f4
FCE
617%if %{with_virthost}
618%global virt_config --enable-virt
619%else
620%global virt_config --disable-virt
621%endif
622
2323b028 623%if %{with_dracut}
b8d6168f 624%global dracut_config --with-dracutstap=%{dracutstap} --with-dracutbindir=%{dracutbindir}
2323b028 625%else
b68f9f67 626%global dracut_config %{nil}
2323b028
FCE
627%endif
628
696a4ac1
DS
629%if %{with_httpd}
630%global httpd_config --enable-httpd
631%else
632%global httpd_config --disable-httpd
633%endif
634
d4b69c1e
FCE
635%if %{with_bpf}
636%global bpf_config --with-bpf
637%else
638%global bpf_config --without-bpf
639%endif
640
74bf7577
FCE
641# We don't ship compileworthy python code, just oddball samples
642%global py_auto_byte_compile 0
0a742545 643
d4b69c1e 644%configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} %{python2_probes_config} %{python3_probes_config} %{httpd_config} %{bpf_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}"
a2c9eba7 645make %{?_smp_mflags}
2a4b42eb 646
65635f34
FCE
647%if %{with_emacsvim}
648%{_emacs_bytecompile} emacs/systemtap-mode.el
649%endif
650
ec4d1558
MW
651%install
652rm -rf ${RPM_BUILD_ROOT}
653make DESTDIR=$RPM_BUILD_ROOT install
9564097a 654%find_lang %{name}
d679d193
MC
655for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
656 dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
657 lang=$(basename $dir)
658 echo "%%lang($lang) $dir/man*/*" >> %{name}.lang
659done
ec4d1558 660
2cd5c938 661ln -s %{_datadir}/systemtap/examples
ec4d1558 662
5c5f2389 663# Fix paths in the example scripts.
2cd5c938 664find $RPM_BUILD_ROOT%{_datadir}/systemtap/examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
7d838f63 665
414e04de
DS
666# To make rpmlint happy, remove any .gitignore files in the testsuite.
667find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
668
b7565b41 669# Because "make install" may install staprun with whatever mode, the
98aab489
DS
670# post-processing programs rpmbuild runs won't be able to read it.
671# So, we change permissions so that they can read it. We'll set the
b7565b41 672# permissions back to 04110 in the %files section below.
98aab489
DS
673chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
674
cd4d1d39
WC
675#install the useful stap-prep script
676install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
677
8f3c45cc
FCE
678# Copy over the testsuite
679cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
680
7fe437e6 681# We want the manuals in the special doc dir, not the generic doc install dir.
c256c4a6
MW
682# We build it in place and then move it away so it doesn't get installed
683# twice. rpm can specify itself where the (versioned) docs go with the
684# %doc directive.
7fe437e6
MW
685mkdir docs.installed
686mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
0dfed9e3 687%if %{with_docs}
6706593f 688%if %{with_htmldocs}
5bfd7a37 689mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
53ade4da
MW
690mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
691%endif
6706593f 692%endif
7fe437e6 693
e914597c
FCE
694install -D -m 644 macros.systemtap $RPM_BUILD_ROOT%{_rpmmacrodir}/macros.systemtap
695
e58423f4
LB
696mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
697mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
8689b446 698mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
e58423f4
LB
699mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
700touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
701mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
89abe8f9 702mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
c1fc8157
LB
703mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
704install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
68708800
SM
705
706# If using systemd systemtap.service file, retain the old init script in %{_libexecdir} as a helper.
707%if %{with_systemd}
708mkdir -p $RPM_BUILD_ROOT%{_unitdir}
709touch $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
710install -m 644 initscript/systemtap.service $RPM_BUILD_ROOT%{_unitdir}/systemtap.service
711mkdir -p $RPM_BUILD_ROOT%{_sbindir}
712install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{_sbindir}/systemtap-service
713%else
4a618408
JL
714mkdir -p $RPM_BUILD_ROOT%{initdir}
715install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{initdir}
68708800
SM
716mkdir -p $RPM_BUILD_ROOT%{_sbindir}
717ln -sf %{initdir}/systemtap $RPM_BUILD_ROOT%{_sbindir}/systemtap-service
718# TODO CHECK CORRECTNESS: symlink %{_sbindir}/systemtap-service to %{initdir}/systemtap
719%endif
720
4c3b0da5
LB
721mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
722mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
723mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
724install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
68708800 725
7fe42498 726%if %{with_systemd}
c1fc8157
LB
727mkdir -p $RPM_BUILD_ROOT%{_unitdir}
728touch $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
729install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/stap-server.service
752358d4
FCE
730mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
731install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/stap-server.conf
e58423f4 732%else
4a618408 733install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}
2f78bee0 734mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
c982e923 735mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
e2a741be 736install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
e58423f4 737%endif
9a8d8be3 738
65635f34
FCE
739%if %{with_emacsvim}
740mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
741install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
742mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
743install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
e42fca4e
FCE
744for subdir in ftdetect ftplugin indent syntax
745do
746 mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
747 install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
748done
65635f34
FCE
749%endif
750
765a5d60
JL
751%if %{with_virtguest}
752 mkdir -p $RPM_BUILD_ROOT%{udevrulesdir}
753 %if %{with_systemd}
754 install -p -m 644 staprun/guest/99-stapsh.rules $RPM_BUILD_ROOT%{udevrulesdir}
755 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
756 install -p -m 644 staprun/guest/stapsh@.service $RPM_BUILD_ROOT%{_unitdir}
757 %else
758 install -p -m 644 staprun/guest/99-stapsh-init.rules $RPM_BUILD_ROOT%{udevrulesdir}
759 install -p -m 755 staprun/guest/stapshd $RPM_BUILD_ROOT%{initdir}
760 mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/systemtap
761 install -p -m 755 staprun/guest/stapsh-daemon $RPM_BUILD_ROOT%{_libexecdir}/systemtap
762 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
763 # Technically, this is only needed for RHEL5, in which the MODULE_ALIAS is missing, but
764 # it does no harm in RHEL6 as well
765 install -p -m 755 staprun/guest/virtio_console.modules $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
766 %endif
767%endif
65635f34 768
6a06bc73
JL
769%if %{with_dracut}
770 mkdir -p $RPM_BUILD_ROOT%{dracutstap}
771 install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
b8d6168f
MC
772 install -p -m 755 initscript/99stap/install $RPM_BUILD_ROOT%{dracutstap}
773 install -p -m 755 initscript/99stap/check $RPM_BUILD_ROOT%{dracutstap}
6a06bc73
JL
774 install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
775 touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
776%endif
777
378a5245 778%pre runtime
9d2b21df
FCE
779getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
780getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
781getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
efc4bf9a 782exit 0
98aab489 783
7433d0cf 784%pre server
9d2b21df 785getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
2648a9b4 786getent passwd stap-server >/dev/null || \
7734bd4f
FCE
787 useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
788 useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
8689b446 789
5c84a24f
DS
790%pre testsuite
791getent passwd stapusr >/dev/null || \
792 useradd -c "Systemtap 'stapusr' User" -g stapusr -r -s /sbin/nologin stapusr
793getent passwd stapsys >/dev/null || \
794 useradd -c "Systemtap 'stapsys' User" -g stapsys -G stapusr -r -s /sbin/nologin stapsys
795getent passwd stapdev >/dev/null || \
796 useradd -c "Systemtap 'stapdev' User" -g stapdev -G stapusr -r -s /sbin/nologin stapdev
797exit 0
798
8689b446
FCE
799%post server
800
4cf2b709
FCE
801# We have some duplication between the %files listings for the
802# ~stap-server directories and the explicit mkdir/chown/chmod bits
803# here. Part of the reason may be that a preexisting stap-server
804# account may well be placed somewhere other than
805# %{_localstatedir}/lib/stap-server, but we'd like their permissions
806# set similarly.
807
808test -e ~stap-server && chmod 750 ~stap-server
878b2f3f
CM
809
810if [ ! -f ~stap-server/.systemtap/rc ]; then
811 mkdir -p ~stap-server/.systemtap
812 chown stap-server:stap-server ~stap-server/.systemtap
86298f09 813 # PR16276: guess at a reasonable number for a default --rlimit-nproc
3c4476ac
FCE
814 numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
815 if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
816 nproc=`expr $numcpu \* 30`
817 echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
878b2f3f
CM
818 chown stap-server:stap-server ~stap-server/.systemtap/rc
819fi
7433d0cf 820
962906a7
DS
821test -e %{_localstatedir}/log/stap-server/log || {
822 touch %{_localstatedir}/log/stap-server/log
4cf2b709 823 chmod 644 %{_localstatedir}/log/stap-server/log
962906a7
DS
824 chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
825}
e59944d5 826# Prepare the service
7fe42498 827%if %{with_systemd}
e59944d5
JS
828 # Note, Fedora policy doesn't allow network services enabled by default
829 # /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
5646d029 830 /bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
e58423f4
LB
831%else
832 /sbin/chkconfig --add stap-server
833%endif
09070e8a
DB
834exit 0
835
045e193d
FCE
836%triggerin client -- systemtap-server
837if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
838 # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
60e99141
FCE
839 %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
840 %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
045e193d
FCE
841fi
842exit 0
843# XXX: corresponding %triggerun?
844
09070e8a 845%preun server
d210cb1c
DB
846# Check that this is the actual deinstallation of the package, as opposed to
847# just removing the old package on upgrade.
e2a741be 848if [ $1 = 0 ] ; then
7fe42498 849 %if %{with_systemd}
e58423f4
LB
850 /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
851 /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
852 %else
853 /sbin/service stap-server stop >/dev/null 2>&1
64647133 854 /sbin/chkconfig --del stap-server
e58423f4 855 %endif
e2a741be
DB
856fi
857exit 0
858
859%postun server
d210cb1c
DB
860# Check whether this is an upgrade of the package.
861# If so, restart the service if it's running
e2a741be 862if [ "$1" -ge "1" ] ; then
7fe42498 863 %if %{with_systemd}
e59944d5 864 /bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
e58423f4
LB
865 %else
866 /sbin/service stap-server condrestart >/dev/null 2>&1 || :
867 %endif
e2a741be 868fi
09070e8a
DB
869exit 0
870
9a8d8be3 871%post initscript
7fe42498 872%if %{with_systemd}
64647133 873 /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
e58423f4
LB
874%else
875 /sbin/chkconfig --add systemtap
876%endif
9a8d8be3
MH
877exit 0
878
879%preun initscript
d210cb1c
DB
880# Check that this is the actual deinstallation of the package, as opposed to
881# just removing the old package on upgrade.
e2a741be 882if [ $1 = 0 ] ; then
7fe42498 883 %if %{with_systemd}
64647133
JL
884 /bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
885 /bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
e58423f4
LB
886 %else
887 /sbin/service systemtap stop >/dev/null 2>&1
64647133 888 /sbin/chkconfig --del systemtap
e58423f4 889 %endif
e2a741be
DB
890fi
891exit 0
892
893%postun initscript
d210cb1c
DB
894# Check whether this is an upgrade of the package.
895# If so, restart the service if it's running
e2a741be 896if [ "$1" -ge "1" ] ; then
7fe42498 897 %if %{with_systemd}
64647133 898 /bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
e58423f4
LB
899 %else
900 /sbin/service systemtap condrestart >/dev/null 2>&1 || :
901 %endif
e2a741be 902fi
9a8d8be3
MH
903exit 0
904
765a5d60
JL
905%post runtime-virtguest
906%if %{with_systemd}
907 # Start services if there are ports present
908 if [ -d /dev/virtio-ports ]; then
909 (find /dev/virtio-ports -iname 'org.systemtap.stapsh.[0-9]*' -type l \
910 | xargs -n 1 basename \
911 | xargs -n 1 -I {} /bin/systemctl start stapsh@{}.service) >/dev/null 2>&1 || :
912 fi
913%else
914 /sbin/chkconfig --add stapshd
915 /sbin/chkconfig stapshd on
916 /sbin/service stapshd start >/dev/null 2>&1 || :
917%endif
918exit 0
919
920%preun runtime-virtguest
921# Stop service if this is an uninstall rather than an upgrade
922if [ $1 = 0 ]; then
923 %if %{with_systemd}
924 # We need to stop all stapsh services. Because they are instantiated from
925 # a template service file, we can't simply call disable. We need to find
926 # all the running ones and stop them all individually
927 for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
928 /bin/systemctl stop $service >/dev/null 2>&1 || :
929 done
930 %else
931 /sbin/service stapshd stop >/dev/null 2>&1
932 /sbin/chkconfig --del stapshd
933 %endif
934fi
935exit 0
936
937%postun runtime-virtguest
938# Restart service if this is an upgrade rather than an uninstall
939if [ "$1" -ge "1" ]; then
940 %if %{with_systemd}
941 # We need to restart all stapsh services. Because they are instantiated from
942 # a template service file, we can't simply call restart. We need to find
943 # all the running ones and restart them all individually
944 for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
945 /bin/systemctl condrestart $service >/dev/null 2>&1 || :
946 done
947 %else
948 /sbin/service stapshd condrestart >/dev/null 2>&1
949 %endif
950fi
951exit 0
952
09bb4384 953%if %{with_python3}
b8550627
FCE
954%if %{with_systemd}
955%preun exporter
956if [ $1 = 0 ] ; then
957 /bin/systemctl stop stap-exporter.service >/dev/null 2>&1 || :
958 /bin/systemctl disable stap-exporter.service >/dev/null 2>&1 || :
959fi
960exit 0
09bb4384 961
b8550627
FCE
962%postun exporter
963# Restart service if this is an upgrade rather than an uninstall
964if [ "$1" -ge "1" ]; then
965 /bin/systemctl condrestart stap-exporter >/dev/null 2>&1 || :
966fi
967exit 0
968%endif
969%endif
09bb4384 970
1208cc21
FCE
971%post
972# Remove any previously-built uprobes.ko materials
60e99141 973(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
70f2bd1f 974(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
1208cc21
FCE
975
976%preun
977# Ditto
60e99141 978(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
70f2bd1f 979(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9a8d8be3 980
016a35ea
FCE
981# ------------------------------------------------------------------------
982
fd05c448
SM
983%if %{with_java}
984
39526324 985%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
a6018be1 986for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
5e5ec35c
LB
987 %ifarch %{ix86}
988 arch=i386
1553f7e3
LB
989 %else
990 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
991 %endif
a6018be1 992 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
46b3edce 993 if [ -d ${archdir} ]; then
86298f09
LB
994 ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
995 ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
46b3edce 996 fi
a6018be1
SM
997 done
998done
fd05c448 999
39526324 1000%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
a6018be1 1001for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
5e5ec35c
LB
1002 %ifarch %{ix86}
1003 arch=i386
1553f7e3
LB
1004 %else
1005 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
1006 %endif
a6018be1
SM
1007 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
1008 rm -f ${archdir}/libHelperSDT_${arch}.so
1009 rm -f ${archdir}/../ext/HelperSDT.jar
1010 done
1011done
fd05c448 1012
39526324 1013%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
a6018be1
SM
1014# Restore links for any JDKs remaining after a package removal:
1015for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
5e5ec35c
LB
1016 %ifarch %{ix86}
1017 arch=i386
1553f7e3
LB
1018 %else
1019 arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
1020 %endif
a6018be1 1021 for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
46b3edce 1022 if [ -d ${archdir} ]; then
86298f09
LB
1023 ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
1024 ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
46b3edce 1025 fi
a6018be1
SM
1026 done
1027done
fd05c448 1028
a6018be1 1029# XXX: analogous support for other types of JRE/JDK??
fd05c448
SM
1030
1031%endif
1032
1033# ------------------------------------------------------------------------
1034
7915b4f7 1035%files
016a35ea
FCE
1036# The master "systemtap" rpm doesn't include any files.
1037
60e99141 1038%files server -f systemtap.lang
7d838f63 1039%defattr(-,root,root)
016a35ea 1040%{_bindir}/stap-server
60e99141
FCE
1041%dir %{_libexecdir}/systemtap
1042%{_libexecdir}/systemtap/stap-serverd
1043%{_libexecdir}/systemtap/stap-start-server
1044%{_libexecdir}/systemtap/stap-stop-server
1045%{_libexecdir}/systemtap/stap-gen-cert
1046%{_libexecdir}/systemtap/stap-sign-module
1047%{_libexecdir}/systemtap/stap-authorize-cert
1048%{_libexecdir}/systemtap/stap-env
541343c6 1049%{_mandir}/man7/error*
016a35ea 1050%{_mandir}/man7/stappaths.7*
09b37817 1051%{_mandir}/man7/warning*
016a35ea 1052%{_mandir}/man8/stap-server.8*
7fe42498 1053%if %{with_systemd}
c1fc8157 1054%{_unitdir}/stap-server.service
752358d4 1055%{_tmpfilesdir}/stap-server.conf
e58423f4 1056%else
4a618408 1057%{initdir}/stap-server
016a35ea
FCE
1058%dir %{_sysconfdir}/stap-server/conf.d
1059%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
e58423f4 1060%endif
c1fc8157
LB
1061%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
1062%dir %{_sysconfdir}/stap-server
ef079a5c 1063%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
8689b446 1064%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
016a35ea
FCE
1065%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
1066%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
1067%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
91c82d36 1068%doc README README.unprivileged AUTHORS NEWS
bb067054 1069%{!?_licensedir:%global license %%doc}
91c82d36 1070%license COPYING
a2c9eba7 1071
a2c9eba7 1072
60e99141 1073%files devel -f systemtap.lang
a2c9eba7 1074%{_bindir}/stap
cd4d1d39 1075%{_bindir}/stap-prep
b0ff684d 1076%{_bindir}/stap-report
60e99141
FCE
1077%dir %{_datadir}/systemtap
1078%{_datadir}/systemtap/runtime
1079%{_datadir}/systemtap/tapset
016a35ea 1080%{_mandir}/man1/stap.1*
d142b86c 1081%{_mandir}/man1/stap-prep.1*
0d8d5d71 1082%{_mandir}/man1/stap-report.1*
541343c6 1083%{_mandir}/man7/error*
016a35ea 1084%{_mandir}/man7/stappaths.7*
09b37817 1085%{_mandir}/man7/warning*
91c82d36 1086%doc README README.unprivileged AUTHORS NEWS
bb067054 1087%{!?_licensedir:%global license %%doc}
91c82d36 1088%license COPYING
36cfba7c
SM
1089%if %{with_java}
1090%dir %{_libexecdir}/systemtap
1091%{_libexecdir}/systemtap/libHelperSDT_*.so
1092%endif
a87d23e3 1093%if %{with_bundled_elfutils}
60e99141
FCE
1094%dir %{_libdir}/systemtap
1095%{_libdir}/systemtap/lib*.so*
7d838f63 1096%endif
65635f34
FCE
1097%if %{with_emacsvim}
1098%{_emacs_sitelispdir}/*.el*
1099%{_emacs_sitestartdir}/systemtap-init.el
e42fca4e 1100%{_datadir}/vim/vimfiles/*/*.vim
65635f34 1101%endif
ca677173
DS
1102# Notice that the stap-resolve-module-function.py file is used by
1103# *both* the python2 and python3 subrpms. Both subrpms use that same
1104# python script to help list python probes.
8065f5d8
FCE
1105%if %{with_python3_probes} || %{with_python2_probes}
1106%{_libexecdir}/systemtap/python/stap-resolve-module-function.py
1107%exclude %{_libexecdir}/systemtap/python/stap-resolve-module-function.py?
1108%endif
a2c9eba7 1109
5ecd6999 1110
60e99141 1111%files runtime -f systemtap.lang
a63a95dc 1112%defattr(-,root,root)
b7565b41 1113%attr(4110,root,stapusr) %{_bindir}/staprun
e96f2257 1114%{_bindir}/stapsh
6c2c4d8e 1115%{_bindir}/stap-merge
b0ff684d 1116%{_bindir}/stap-report
8ff439fa 1117%if %{with_dyninst}
4b682f2a 1118%{_bindir}/stapdyn
8ff439fa 1119%endif
5eb23ed5 1120%if %{with_bpf}
78efcde0 1121%{_bindir}/stapbpf
5eb23ed5 1122%endif
60e99141
FCE
1123%dir %{_libexecdir}/systemtap
1124%{_libexecdir}/systemtap/stapio
1125%{_libexecdir}/systemtap/stap-authorize-cert
38105915 1126%if %{with_crash}
60e99141
FCE
1127%dir %{_libdir}/systemtap
1128%{_libdir}/systemtap/staplog.so*
38105915 1129%endif
0d8d5d71 1130%{_mandir}/man1/stap-report.1*
541343c6 1131%{_mandir}/man7/error*
4e47b3c4 1132%{_mandir}/man7/stappaths.7*
09b37817 1133%{_mandir}/man7/warning*
e7e3c2fd 1134%{_mandir}/man8/stapsh.8*
0bda9740 1135%{_mandir}/man8/staprun.8*
75c8709f
FCE
1136%if %{with_dyninst}
1137%{_mandir}/man8/stapdyn.8*
1138%endif
5eb23ed5
AM
1139%if %{with_bpf}
1140%{_mandir}/man8/stapbpf.8*
1141%endif
91c82d36 1142%doc README README.security AUTHORS NEWS
bb067054 1143%{!?_licensedir:%global license %%doc}
91c82d36 1144%license COPYING
7d838f63 1145
8f3c45cc 1146
60e99141 1147%files client -f systemtap.lang
d9d14e20 1148%defattr(-,root,root)
2cd5c938
CS
1149%doc README README.unprivileged AUTHORS NEWS
1150%{_datadir}/systemtap/examples
bb067054 1151%{!?_licensedir:%global license %%doc}
91c82d36 1152%license COPYING
016a35ea 1153%doc docs.installed/*.pdf
0dfed9e3 1154%if %{with_docs}
6706593f 1155%if %{with_htmldocs}
016a35ea 1156%doc docs.installed/tapsets/*.html
016a35ea
FCE
1157%doc docs.installed/SystemTap_Beginners_Guide
1158%endif
6706593f 1159%endif
016a35ea
FCE
1160%{_bindir}/stap
1161%{_bindir}/stap-prep
1162%{_bindir}/stap-report
1163%{_mandir}/man1/stap.1*
d142b86c 1164%{_mandir}/man1/stap-prep.1*
016a35ea 1165%{_mandir}/man1/stap-merge.1*
0d8d5d71 1166%{_mandir}/man1/stap-report.1*
a80691df 1167%{_mandir}/man1/stapref.1*
016a35ea 1168%{_mandir}/man3/*
541343c6 1169%{_mandir}/man7/error*
4e47b3c4 1170%{_mandir}/man7/stappaths.7*
09b37817 1171%{_mandir}/man7/warning*
60e99141
FCE
1172%dir %{_datadir}/systemtap
1173%{_datadir}/systemtap/tapset
016a35ea 1174
8f3c45cc 1175
b899aa79 1176
9a8d8be3
MH
1177%files initscript
1178%defattr(-,root,root)
68708800
SM
1179%if %{with_systemd}
1180%{_unitdir}/systemtap.service
1181%{_sbindir}/systemtap-service
1182%else
4a618408 1183%{initdir}/systemtap
68708800
SM
1184%{_sbindir}/systemtap-service
1185%endif
c1fc8157
LB
1186%dir %{_sysconfdir}/systemtap
1187%dir %{_sysconfdir}/systemtap/conf.d
1188%dir %{_sysconfdir}/systemtap/script.d
1189%config(noreplace) %{_sysconfdir}/systemtap/config
9a8d8be3 1190%dir %{_localstatedir}/cache/systemtap
d1bf48fa 1191%ghost %{_localstatedir}/run/systemtap
71ed4a5d 1192%{_mandir}/man8/systemtap-service.8*
6a06bc73
JL
1193%if %{with_dracut}
1194 %dir %{dracutstap}
1195 %{dracutstap}/*
1196%endif
9a8d8be3 1197
016a35ea 1198
a54d79ce 1199%files sdt-devel
016a35ea
FCE
1200%defattr(-,root,root)
1201%{_bindir}/dtrace
1202%{_includedir}/sys/sdt.h
1203%{_includedir}/sys/sdt-config.h
1204%{_mandir}/man1/dtrace.1*
fe42fac6 1205%{_rpmmacrodir}/macros.systemtap
91c82d36 1206%doc README AUTHORS NEWS
bb067054 1207%{!?_licensedir:%global license %%doc}
91c82d36 1208%license COPYING
016a35ea
FCE
1209
1210
1211%files testsuite
1212%defattr(-,root,root)
60e99141
FCE
1213%dir %{_datadir}/systemtap
1214%{_datadir}/systemtap/testsuite
016a35ea
FCE
1215
1216
36cfba7c
SM
1217%if %{with_java}
1218%files runtime-java
1219%dir %{_libexecdir}/systemtap
1220%{_libexecdir}/systemtap/libHelperSDT_*.so
1221%{_libexecdir}/systemtap/HelperSDT.jar
1222%{_libexecdir}/systemtap/stapbm
1223%endif
1224
30354895
DS
1225%if %{with_python2_probes}
1226%files runtime-python2
8065f5d8
FCE
1227%{python_sitearch}/HelperSDT
1228%{python_sitearch}/HelperSDT-*.egg-info
30354895
DS
1229%endif
1230%if %{with_python3_probes}
1231%files runtime-python3
8065f5d8
FCE
1232%{python3_sitearch}/HelperSDT
1233%{python3_sitearch}/HelperSDT-*.egg-info
30354895
DS
1234%endif
1235
765a5d60
JL
1236%if %{with_virthost}
1237%files runtime-virthost
1238%{_mandir}/man1/stapvirt.1*
1239%{_bindir}/stapvirt
1240%endif
1241
1242%if %{with_virtguest}
1243%files runtime-virtguest
1244%if %{with_systemd}
1245 %{udevrulesdir}/99-stapsh.rules
1246 %{_unitdir}/stapsh@.service
1247%else
1248 %{udevrulesdir}/99-stapsh-init.rules
1249 %dir %{_libexecdir}/systemtap
1250 %{_libexecdir}/systemtap/stapsh-daemon
1251 %{initdir}/stapshd
1252 %{_sysconfdir}/sysconfig/modules/virtio_console.modules
1253%endif
1254%endif
36cfba7c 1255
09bb4384 1256%if %{with_python3}
b8550627
FCE
1257%files exporter
1258%{_sysconfdir}/stap-exporter
1259%{_sysconfdir}/sysconfig/stap-exporter
09bb4384
AM
1260%{_unitdir}/stap-exporter.service
1261%{_mandir}/man8/stap-exporter.8*
3de4d169 1262%{_sbindir}/stap-exporter
09bb4384
AM
1263%endif
1264
016a35ea 1265# ------------------------------------------------------------------------
9a8d8be3 1266
26fa6c15
FCE
1267# Future new-release entries should be of the form
1268# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
1269# - Upstream release, see wiki page below for detailed notes.
1270# http://sourceware.org/systemtap/wiki/SystemTapReleases
1271
b8ea350d 1272# PRERELEASE
7d838f63 1273%changelog
428f84e9 1274* Sat Oct 13 2018 Frank Ch. Eigler <fche@redhat.com> - 4.0-1
3a74104e
FCE
1275- Upstream release.
1276
16b0bd93
FCE
1277* Thu Jun 07 2018 Frank Ch. Eigler <fche@redhat.com> - 3.3-1
1278- Upstream release.
1279
a3e0237a 1280* Wed Oct 18 2017 Frank Ch. Eigler <fche@redhat.com> - 3.2-1
c074154d
FCE
1281- Upstream release.
1282
b8ea350d
FCE
1283* Fri Feb 17 2017 Frank Ch. Eigler <fche@redhat.com> - 3.1-1
1284- Upstream release.
1285
6b2b2bef
FCE
1286* Sun Mar 27 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-1
1287- Upstream release.
1288
7009f2f7 1289* Thu Oct 08 2015 Frank Ch. Eigler <fche@redhat.com> - 2.9-1
f59f4f63
FL
1290- Upstream release.
1291
08dc7182
AJ
1292* Wed Jun 17 2015 Abegail Jakop <ajakop@redhat.com> - 2.8-1
1293- Upstream release.
1294
c86582b2
FCE
1295* Wed Feb 18 2015 Frank Ch. Eigler <fche@redhat.com> - 2.7-1
1296- Upstream release.
1297
7682e51d
JS
1298* Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
1299- Upstream release.
1300
ebf1032e 1301* Mon Jul 07 2014 Josh Stone <jistone@redhat.com>
bec6172d 1302- Flip with_dyninst to an %%ifarch whitelist.
ebf1032e 1303
e8fa5eb0 1304* Wed Apr 30 2014 Jonathan Lebon <jlebon@redhat.com> - 2.5-1
8f0fcd99
JL
1305- Upstream release.
1306
86298f09
LB
1307* Thu Feb 13 2014 Lukas Berk <lberk@redhat.com>
1308- Add directory checks for runtime-java sym links
1309
6a06bc73
JL
1310* Mon Jan 06 2014 Jonathan Lebon <jlebon@redhat.com>
1311- Added dracut module to initscript package
1312
aa7b1e00
FCE
1313* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
1314- Upstream release.
1315
765a5d60
JL
1316* Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
1317- Added runtime-virthost and runtime-virtguest packages.
1318
26fa6c15
FCE
1319* Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
1320- Upstream release.
1321
e4bf97f8
FCE
1322* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
1323- Upstream release.
1324
bec88838
FCE
1325* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
1326- Upstream release.
1327
0dc908f7 1328* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
460cea43
SM
1329- Upstream release.
1330
a63381cc
JS
1331* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
1332- Upstream release.
1333
07547775
PR
1334* Fri Jul 13 2012 Peter Robinson <pbrobinson@fedoraproject.org>
1335- Fix ifarch statement
e2d574cc 1336- use file based requires for glibc-devel on x86_64 so that we work in koji
07547775 1337
48fa6b5e
FCE
1338* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
1339- Upstream release.
1340
83bd2699
FCE
1341* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
1342- Upstream release.
1343
87600139
DS
1344* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
1345- Fixed /bin/mktemp require.
1346
aff1eaa0
FCE
1347* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
1348- Upstream release.
1349
63509773 1350* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
aff1eaa0
FCE
1351- Upstream release.
1352
6e0c15da
FCE
1353* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
1354- Upstream release.
1355
e12e958f
JS
1356* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
1357- Upstream release.
1358
e36ba31a
FCE
1359* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
1360- Upstream release.
1361
0710d850
DS
1362* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
1363- Upstream release.
1364
6a7aa1a1
JS
1365* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
1366- Upstream release.
1367
1e9b189f
JS
1368* Tue Aug 4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
1369- Upstream release.
1370
e1774a7f
JS
1371* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
1372- Upstream release.
1373
9b055ab2 1374* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
225d8d4b
JS
1375- Upstream release.
1376
27aba29a
JS
1377* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
1378- Upstream release.
1379
fab6ce30
WC
1380* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
1381- Add location of man pages.
1382
c8bf931d
FCE
1383* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
1384- Upstream release.
1385
70f5a7b3
FCE
1386* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
1387- Upstream release.
1388
cfaa068c
FCE
1389* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
1390- Upstream release.
1391
d2995e6f
FCE
1392* Fri Feb 1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
1393- Add zlib-devel to buildreq; missing from crash-devel
1394- Process testsuite .stp files for #!stap->#!/usr/bin/stap
1395
bfe2b4ab 1396* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
1e0716d3
FCE
1397- Add crash-devel buildreq to build staplog.so crash(8) module.
1398- Many robustness & functionality improvements:
1399
47b0655b
WC
1400* Wed Dec 5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
1401- Correct Source to point to location contain code.
1402
98aab489
DS
1403* Thu Aug 9 2007 David Smith <dsmith@redhat.com> - 0.6-1
1404- Bumped version, added libcap-devel BuildRequires.
1405
d8c3d602
WC
1406* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
1407- Fix Requires and BuildRequires for sqlite.
1408
63509773 1409* Mon Jul 2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
c1edaa30
FCE
1410- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
1411 2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
1412 3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
1413 3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
1414 4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
1415 4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
1416 4518, 4567, 4570, 4579, 4589, 4609, 4664
1417
aa384dcd
FCE
1418* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
1419- An emergency / preliminary refresh, mainly for compatibility
1420 with 2.6.21-pre kernels.
2a4b42eb 1421
31982bd2
FCE
1422* Mon Jan 1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
1423- Many changes, see NEWS file.
1424
a63a95dc
DS
1425* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
1426- Added 'systemtap-runtime' subpackage.
1427
d65d6b27
RM
1428* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
1429- PRs 2669, 2913
1430
c1d6a343
RM
1431* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
1432- PRs 2627, 2520, 2228, 2645
1433
f6291560 1434* Fri May 5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
6f231a27
FCE
1435- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
1436 1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
1437
611010bf
RM
1438* Tue Apr 4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
1439- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
1440 1304, 2390, 2425, 953.
1441
be9923ac
FCE
1442* Wed Feb 1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
1443- PRs 1916, 2205, 2142, 2060, 1379
1444
db6a8a10
RM
1445* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
1446- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
1447 2060, 1972, 2140, 2148
1448
dcf0c541
RM
1449* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
1450- Fixed build with gcc 4.1, various tapset changes.
1451
4d9087fc
RM
1452* Wed Dec 7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
1453- elfutils update, build changes
1454
e94c050c 1455* Fri Dec 02 2005 Frank Ch. Eigler <fche@redhat.com> - 0.5-1
7d9e8974
FCE
1456- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
1457 1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
1458
ae65ed5c
RM
1459* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
1460- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
1461 1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
1462
66bb48fd
RM
1463* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
1464- Many fixes and improvements since 0.2.2; relevant PRs include:
1465 1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
1466 1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
1467 1289, 1292, 1306, 1335, 1257
1468
323904e0
FCE
1469* Wed Sep 7 2005 Frank Ch. Eigler <fche@redhat.com>
1470- Bump version.
1471
63509773 1472* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
83ff1cf9
FCE
1473- Bump version.
1474
2205d115
MH
1475* Wed Aug 3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
1476- Add directory /var/cache/systemtap
1477- Add stp_check to /usr/libexec/systemtap
1478
351e76d3
RM
1479* Wed Aug 3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
1480- New version 0.2.1, various fixes.
1481
4dbd685d
RM
1482* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
1483- New version 0.2, requires elfutils 0.111
1484
a2c9eba7
RM
1485* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
1486- Clean up spec file, build bundled elfutils.
1487
7d838f63
MH
1488* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
1489- Set Version to use version from autoconf.
1490- Fix up some of the path names.
a2c9eba7
RM
1491- Add Requires and BuildRequires.
1492
63509773 1493* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
7d838f63 1494- Initial creation of RPM.
This page took 0.420454 seconds and 5 git commands to generate.