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