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