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