Blame SPECS/systemtap.spec

9201c6
%{?scl:%scl_package systemtap}
9201c6
%global sysconfdir %{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}
9201c6
9201c6
%{!?with_sqlite: %global with_sqlite 1}
9201c6
%{!?with_docs: %global with_docs 0}
9201c6
%{!?with_htmldocs: %global with_htmldocs 0}
9201c6
%{!?with_monitor: %global with_monitor 1}
9201c6
# crash is not available
9201c6
%ifarch ppc ppc64 %{sparc} aarch64 ppc64le
9201c6
%{!?with_crash: %global with_crash 0}
9201c6
%else
9201c6
%{!?with_crash: %global with_crash 1}
9201c6
%endif
9201c6
%{!?with_rpm: %global with_rpm 1}
9201c6
%{!?with_bundled_elfutils: %global with_bundled_elfutils 0}
9201c6
%{!?elfutils_version: %global elfutils_version 0.142}
9201c6
%{!?pie_supported: %global pie_supported 1}
9201c6
%{!?with_boost: %global with_boost 0}
9201c6
%ifarch i686 ppc64 x86_64
9201c6
%{!?with_dyninst: %global with_dyninst 1}
9201c6
%else
9201c6
%{!?with_dyninst: %global with_dyninst 0}
9201c6
%endif
9201c6
%{!?with_systemd: %global with_systemd 0} # disable even on rhel7
9201c6
%{!?with_emacsvim: %global with_emacsvim 0}
9201c6
%{!?with_java: %global with_java 0}
9201c6
# don't want to build runtime-virthost for f18 or RHEL5/6
9201c6
%{!?with_virthost: %global with_virthost 0}
9201c6
%{!?with_virtguest: %global with_virtguest 0}
9201c6
%{!?with_dracut: %global with_dracut 0%{?fedora} >= 19 || 0%{?rhel} >= 7}
9201c6
%ifarch x86_64
9201c6
%{!?with_mokutil: %global with_mokutil 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9201c6
%{!?with_openssl: %global with_openssl 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9201c6
%else
9201c6
%{!?with_mokutil: %global with_mokutil 0}
9201c6
%{!?with_openssl: %global with_openssl 0}
9201c6
%endif
9201c6
%{!?with_pyparsing: %global with_pyparsing 0%{?fedora} >= 18 || 0%{?rhel} >= 7}
9201c6
%{!?with_python3: %global with_python3 0%{?fedora} >= 23}
9201c6
9201c6
%ifarch ppc64le aarch64
9201c6
%global with_virthost 0
9201c6
%endif
9201c6
9201c6
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 6
9201c6
   %define initdir %{sysconfdir}/rc.d/init.d
9201c6
# not scl-wrapped %{_initdir}
9201c6
%else # RHEL5 doesn't know _initddir
9201c6
   %define initdir %{_initrddir}
9201c6
%endif
9201c6
9201c6
# note not under /opt/rh... SCL special
9201c6
%define dracutlibdir %{_root_prefix}/lib/dracut
9201c6
%define dracutstap %{dracutlibdir}/modules.d/99%{scl_prefix}stap
9201c6
9201c6
Name: %{?scl_prefix}systemtap
9201c6
Version: 3.0
9201c6
Release: 8s%{?dist}
9201c6
# for version, see also configure.ac
9201c6
9201c6
# NB Patch1 is for elfutils, further below
9201c6
9201c6
# Packaging abstract:
9201c6
#
9201c6
# systemtap              empty req:-client req:-devel
9201c6
# systemtap-server       /usr/bin/stap-server*, req:-devel
9201c6
# systemtap-devel        /usr/bin/stap, runtime, tapset, req:kernel-devel
9201c6
# systemtap-runtime      /usr/bin/staprun, /usr/bin/stapsh, /usr/bin/stapdyn
9201c6
# systemtap-client       /usr/bin/stap, samples, docs, tapset(bonus), req:-runtime
9201c6
# systemtap-initscript   /etc/init.d/systemtap, dracut module, req:systemtap
9201c6
# systemtap-sdt-devel    /usr/include/sys/sdt.h /usr/bin/dtrace
9201c6
# systemtap-testsuite    /usr/share/systemtap/testsuite*, req:systemtap, req:sdt-devel
9201c6
# systemtap-runtime-java libHelperSDT.so, HelperSDT.jar, stapbm, req:-runtime
9201c6
# systemtap-runtime-virthost  /usr/bin/stapvirt, req:libvirt req:libxml2
9201c6
# systemtap-runtime-virtguest udev rules, init scripts/systemd service, req:-runtime
9201c6
#
9201c6
# Typical scenarios:
9201c6
#
9201c6
# stap-client:           systemtap-client
9201c6
# stap-server:           systemtap-server
9201c6
# local user:            systemtap
9201c6
#
9201c6
# Unusual scenarios:
9201c6
#
9201c6
# intermediary stap-client for --remote:       systemtap-client (-runtime unused)
9201c6
# intermediary stap-server for --use-server:   systemtap-server (-devel unused)
9201c6
9201c6
Summary: Programmable system-wide instrumentation system
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Source: ftp://sourceware.org/pub/systemtap/releases/systemtap-%{version}.tar.gz
9201c6
9201c6
# Build*
9201c6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9201c6
BuildRequires: gcc-c++
9201c6
BuildRequires: gettext-devel
9201c6
BuildRequires: nss-devel avahi-devel pkgconfig
9201c6
%if %{with_dyninst}
9201c6
BuildRequires: %{?scl_prefix}dyninst-devel >= 8.0
9201c6
BuildRequires: libselinux-devel
9201c6
%endif
9201c6
%if %{with_sqlite}
9201c6
BuildRequires: sqlite-devel
9201c6
%endif
9201c6
%if %{with_monitor}
9201c6
BuildRequires: json-c-devel ncurses-devel
9201c6
%endif
9201c6
# Needed for libstd++ < 4.0, without <tr1/memory>
9201c6
%if %{with_boost}
9201c6
BuildRequires: boost-devel
9201c6
%endif
9201c6
%if %{with_crash}
9201c6
BuildRequires: crash-devel zlib-devel
9201c6
%endif
9201c6
%if %{with_rpm}
9201c6
BuildRequires: rpm-devel glibc-headers
9201c6
%endif
9201c6
%if %{with_bundled_elfutils}
9201c6
Source1: elfutils-%{elfutils_version}.tar.gz
9201c6
Patch1: elfutils-portability.patch
9201c6
BuildRequires: m4
9201c6
%global setup_elfutils -a1
9201c6
%else
9201c6
BuildRequires: %{?scl_prefix}elfutils-devel >= %{elfutils_version}
9201c6
%endif
9201c6
%if %{with_docs}
9201c6
BuildRequires: /usr/bin/latex /usr/bin/dvips /usr/bin/ps2pdf latex2html
9201c6
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
9201c6
BuildRequires: tex(fullpage.sty) tex(fancybox.sty) tex(bchr7t.tfm) tex(graphicx.sty)
9201c6
%endif
9201c6
# For the html.sty mentioned in the .tex files, even though latex2html is
9201c6
# not run during the build, only during manual scripts/update-docs runs:
9201c6
BuildRequires: latex2html
9201c6
%if %{with_htmldocs}
9201c6
# On F10, xmlto's pdf support was broken off into a sub-package,
9201c6
# called 'xmlto-tex'.  To avoid a specific F10 BuildReq, we'll do a
9201c6
# file-based buildreq on '/usr/share/xmlto/format/fo/pdf'.
9201c6
BuildRequires: xmlto /usr/share/xmlto/format/fo/pdf
9201c6
%endif
9201c6
%endif
9201c6
%{?scl:Requires:%scl_runtime}
9201c6
%if %{with_emacsvim}
9201c6
BuildRequires: emacs
9201c6
%endif
9201c6
%if %{with_java}
9201c6
BuildRequires: jpackage-utils java-devel
9201c6
%endif
9201c6
%if %{with_virthost}
9201c6
BuildRequires: libvirt-devel >= 1.0.2
9201c6
BuildRequires: libxml2-devel
9201c6
%endif
9201c6
BuildRequires: readline-devel
9201c6
%if 0%{?rhel} <= 5
9201c6
BuildRequires: ncurses-devel
9201c6
%endif
9201c6
9201c6
Patch10: rhbz1242368.patch
9201c6
Patch11: rhbz1346112.patch
9201c6
Patch12: rhbz1269062.patch
9201c6
Patch13: rhbz1337416.patch
9201c6
Patch14: rhbz1365550.patch
9201c6
Patch15: rhbz1312169.patch
9201c6
Patch16: rhbz1376515.patch
9201c6
Patch17: rhbz1378462.patch
9201c6
9201c6
# Install requirements
9201c6
Requires: %{?scl_prefix}systemtap-client = %{version}-%{release}
9201c6
Requires: %{?scl_prefix}systemtap-devel = %{version}-%{release}
9201c6
9201c6
%description
9201c6
SystemTap is an instrumentation system for systems running Linux.
9201c6
Developers can write instrumentation scripts to collect data on
9201c6
the operation of the system.  The base systemtap package contains/requires
9201c6
the components needed to locally develop and execute systemtap scripts.
9201c6
9201c6
# ------------------------------------------------------------------------
9201c6
9201c6
%package server
9201c6
Summary: Instrumentation System Server
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: %{?scl_prefix}systemtap-devel = %{version}-%{release}
9201c6
# On RHEL[45], /bin/mktemp comes from the 'mktemp' package.  On newer
9201c6
# distributions, /bin/mktemp comes from the 'coreutils' package.  To
9201c6
# avoid a specific RHEL[45] Requires, we'll do a file-based require.
9201c6
Requires: nss /bin/mktemp
9201c6
Requires: zip unzip
9201c6
Requires(pre): shadow-utils
9201c6
Requires(post): chkconfig
9201c6
Requires(preun): chkconfig
9201c6
Requires(preun): initscripts
9201c6
Requires(postun): initscripts
9201c6
BuildRequires: nss-devel avahi-devel
9201c6
%if %{with_openssl}
9201c6
Requires: openssl
9201c6
%endif
9201c6
9201c6
%description server
9201c6
This is the remote script compilation server component of systemtap.
9201c6
It announces itself to nearby clients with avahi (if available), and
9201c6
compiles systemtap scripts to kernel objects on their demand.
9201c6
9201c6
9201c6
%package devel
9201c6
Summary: Programmable system-wide instrumentation system - development headers, tools
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
# Alternate kernel packages kernel-PAE-devel et al. have a virtual
9201c6
# provide for kernel-devel, so this requirement does the right thing,
9201c6
# at least past RHEL4.
9201c6
Requires: kernel-devel
9201c6
Requires: gcc make
9201c6
# Suggest: kernel-debuginfo
9201c6
9201c6
%description devel
9201c6
This package contains the components needed to compile a systemtap
9201c6
script from source form into executable (.ko) forms.  It may be
9201c6
installed on a self-contained developer workstation (along with the
9201c6
systemtap-client and systemtap-runtime packages), or on a dedicated
9201c6
remote server (alongside the systemtap-server package).  It includes
9201c6
a copy of the standard tapset library and the runtime library C files.
9201c6
9201c6
9201c6
%package runtime
9201c6
Summary: Programmable system-wide instrumentation system - runtime
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires(pre): shadow-utils
9201c6
9201c6
%description runtime
9201c6
SystemTap runtime contains the components needed to execute
9201c6
a systemtap script that was already compiled into a module
9201c6
using a local or remote systemtap-devel installation.
9201c6
9201c6
9201c6
%package client
9201c6
Summary: Programmable system-wide instrumentation system - client
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: zip unzip
9201c6
Requires: %{?scl_prefix}systemtap-runtime = %{version}-%{release}
9201c6
Requires: coreutils grep sed unzip zip
9201c6
Requires: openssh-clients
9201c6
%if %{with_mokutil}
9201c6
Requires: mokutil
9201c6
%endif
9201c6
9201c6
%description client
9201c6
This package contains/requires the components needed to develop
9201c6
systemtap scripts, and compile them using a local systemtap-devel
9201c6
or a remote systemtap-server installation, then run them using a
9201c6
local or remote systemtap-runtime.  It includes script samples and
9201c6
documentation, and a copy of the tapset library for reference.
9201c6
9201c6
9201c6
%package initscript
9201c6
Summary: Systemtap Initscripts
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: %{?scl_prefix}systemtap = %{version}-%{release}
9201c6
Requires(post): chkconfig
9201c6
Requires(preun): chkconfig
9201c6
Requires(preun): initscripts
9201c6
Requires(postun): initscripts
9201c6
9201c6
%description initscript
9201c6
This package includes a SysVinit script to launch selected systemtap
9201c6
scripts at system startup, along with a dracut module for early
9201c6
boot-time probing if supported.
9201c6
9201c6
9201c6
%package sdt-devel
9201c6
Summary: Static probe support tools
9201c6
Group: Development/System
9201c6
License: GPLv2+ and Public Domain
9201c6
URL: http://sourceware.org/systemtap/
9201c6
%if %{with_pyparsing}
9201c6
%if %{with_python3}
9201c6
Requires: python3-pyparsing
9201c6
%else
9201c6
Requires: pyparsing
9201c6
%endif
9201c6
%endif
9201c6
9201c6
%description sdt-devel
9201c6
This package includes the <sys/sdt.h> header file used for static
9201c6
instrumentation compiled into userspace programs and libraries, along
9201c6
with the optional dtrace-compatibility preprocessor to process related
9201c6
.d files into tracing-macro-laden .h headers.
9201c6
9201c6
9201c6
%package testsuite
9201c6
Summary: Instrumentation System Testsuite
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: %{?scl_prefix}systemtap = %{version}-%{release}
9201c6
Requires: %{?scl_prefix}systemtap-sdt-devel = %{version}-%{release}
9201c6
Requires: %{?scl_prefix}systemtap-server = %{version}-%{release}
9201c6
Requires: %{?scl_prefix}elfutils
9201c6
Requires: dejagnu which grep nc
9201c6
Requires: gcc gcc-c++ make glibc-devel
9201c6
# testsuite/systemtap.base/ptrace.exp needs strace
9201c6
Requires: strace
9201c6
# testsuite/systemtap.base/ipaddr.exp needs nc. Unfortunately, the rpm
9201c6
# that provides nc has changed over time (from 'nc' to
9201c6
# 'nmap-ncat'). So, we'll do a file-based require.
9201c6
Requires: /usr/bin/nc
9201c6
%ifnarch ia64 ppc64le aarch64
9201c6
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 8
9201c6
# no prelink
9201c6
%else
9201c6
Requires: prelink
9201c6
%endif
9201c6
%endif
9201c6
# testsuite/systemtap.server/client.exp needs avahi
9201c6
Requires: avahi
9201c6
%if %{with_crash}
9201c6
# testsuite/systemtap.base/crash.exp needs crash
9201c6
Requires: crash
9201c6
%endif
9201c6
%if %{with_java}
9201c6
Requires: systemtap-runtime-java = %{version}-%{release}
9201c6
%endif
9201c6
%ifarch x86_64
9201c6
Requires: /usr/lib/libc.so
9201c6
# ... and /usr/lib/libgcc_s.so.*
9201c6
# ... and /usr/lib/libstdc++.so.*
9201c6
%endif
9201c6
%if 0%{?fedora} >= 18
9201c6
Requires: stress
9201c6
%endif
9201c6
# The following "meta" files for the systemtap examples run "perf":
9201c6
#   testsuite/systemtap.examples/hw_watch_addr.meta
9201c6
#   testsuite/systemtap.examples/memory/hw_watch_sym.meta
9201c6
Requires: perf
9201c6
9201c6
%description testsuite
9201c6
This package includes the dejagnu-based systemtap stress self-testing
9201c6
suite.  This may be used by system administrators to thoroughly check
9201c6
systemtap on the current system.
9201c6
9201c6
%if %{with_java}
9201c6
%package runtime-java
9201c6
Summary: Systemtap Java Runtime Support
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: systemtap-runtime = %{version}-%{release}
9201c6
Requires: byteman > 2.0
9201c6
Requires: net-tools
9201c6
9201c6
%description runtime-java
9201c6
This package includes support files needed to run systemtap scripts
9201c6
that probe Java processes running on the OpenJDK 1.6 and OpenJDK 1.7
9201c6
runtimes using Byteman.
9201c6
%endif
9201c6
9201c6
%if %{with_virthost}
9201c6
%package runtime-virthost
9201c6
Summary: Systemtap Cross-VM Instrumentation - host
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: libvirt >= 1.0.2
9201c6
Requires: libxml2
9201c6
9201c6
%description runtime-virthost
9201c6
This package includes the components required to run systemtap scripts
9201c6
inside a libvirt-managed domain from the host without using a network
9201c6
connection.
9201c6
%endif
9201c6
9201c6
%if %{with_virtguest}
9201c6
%package runtime-virtguest
9201c6
Summary: Systemtap Cross-VM Instrumentation - guest
9201c6
Group: Development/System
9201c6
License: GPLv2+
9201c6
URL: http://sourceware.org/systemtap/
9201c6
Requires: systemtap-runtime = %{version}-%{release}
9201c6
%if %{with_systemd}
9201c6
Requires(post): findutils coreutils
9201c6
Requires(preun): grep coreutils
9201c6
Requires(postun): grep coreutils
9201c6
%else
9201c6
Requires(post): chkconfig initscripts
9201c6
Requires(preun): chkconfig initscripts
9201c6
Requires(postun): initscripts
9201c6
%endif
9201c6
9201c6
%description runtime-virtguest
9201c6
This package installs the services necessary on a virtual machine for a
9201c6
systemtap-runtime-virthost machine to execute systemtap scripts.
9201c6
%endif
9201c6
9201c6
# ------------------------------------------------------------------------
9201c6
9201c6
%prep
9201c6
%setup -q -n systemtap-%{version} %{?setup_elfutils}
9201c6
9201c6
%if %{with_bundled_elfutils}
9201c6
cd elfutils-%{elfutils_version}
9201c6
%patch1 -p2
9201c6
9201c6
sleep 1
9201c6
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
9201c6
sleep 1
9201c6
find . \( -name configure -o -name config.h.in \) -print | xargs touch
9201c6
cd ..
9201c6
%endif
9201c6
9201c6
%patch10 -p1
9201c6
%patch11 -p1
9201c6
%patch12 -p1
9201c6
%patch13 -p1
9201c6
%patch14 -p1
9201c6
%patch15 -p1
9201c6
%patch16 -p1
9201c6
%patch17 -p1
9201c6
9201c6
%build
9201c6
9201c6
%if %{with_bundled_elfutils}
9201c6
# Build our own copy of elfutils.
9201c6
%global elfutils_config --with-elfutils=elfutils-%{elfutils_version}
9201c6
9201c6
# We have to prevent the standard dependency generation from identifying
9201c6
# our private elfutils libraries in our provides and requires.
9201c6
%global _use_internal_dependency_generator	0
9201c6
%global filter_eulibs() /bin/sh -c "%{1} | sed '/libelf/d;/libdw/d;/libebl/d'"
9201c6
%global __find_provides %{filter_eulibs /usr/lib/rpm/find-provides}
9201c6
%global __find_requires %{filter_eulibs /usr/lib/rpm/find-requires}
9201c6
9201c6
# This will be needed for running stap when not installed, for the test suite.
9201c6
%global elfutils_mflags LD_LIBRARY_PATH=`pwd`/lib-elfutils
9201c6
%endif
9201c6
9201c6
# Enable/disable the dyninst pure-userspace backend
9201c6
%if %{with_dyninst}
9201c6
%global dyninst_config --with-dyninst
9201c6
%else
9201c6
%global dyninst_config --without-dyninst
9201c6
%endif
9201c6
9201c6
# Enable/disable the sqlite coverage testing support
9201c6
%if %{with_sqlite}
9201c6
%global sqlite_config --enable-sqlite
9201c6
%else
9201c6
%global sqlite_config --disable-sqlite
9201c6
%endif
9201c6
9201c6
# Enable/disable the crash extension
9201c6
%if %{with_crash}
9201c6
%global crash_config --enable-crash
9201c6
%else
9201c6
%global crash_config --disable-crash
9201c6
%endif
9201c6
9201c6
# Enable/disable the code to find and suggest needed rpms
9201c6
%if %{with_rpm}
9201c6
%global rpm_config --with-rpm
9201c6
%else
9201c6
%global rpm_config --without-rpm
9201c6
%endif
9201c6
9201c6
%if %{with_docs}
9201c6
%if %{with_htmldocs}
9201c6
%global docs_config --enable-docs --enable-htmldocs
9201c6
%else
9201c6
%global docs_config --enable-docs --disable-htmldocs
9201c6
%endif
9201c6
%else
9201c6
%global docs_config --disable-docs
9201c6
%endif
9201c6
9201c6
# Enable pie as configure defaults to disabling it
9201c6
%if %{pie_supported}
9201c6
%global pie_config --enable-pie
9201c6
%else
9201c6
%global pie_config --disable-pie
9201c6
%endif
9201c6
9201c6
9201c6
%if %{with_java}
9201c6
%global java_config --with-java=%{_jvmdir}/java
9201c6
%else
9201c6
%global java_config --without-java
9201c6
%endif
9201c6
9201c6
%if %{with_virthost}
9201c6
%global virt_config --enable-virt
9201c6
%else
9201c6
%global virt_config --disable-virt
9201c6
%endif
9201c6
9201c6
#CPPFLAGS="-I%{_includedir}/dyninst %{optflags}"
9201c6
CPPFLAGS="-I%{_includedir} -I%{_includedir}/dyninst %{optflags}"
9201c6
export CPPFLAGS
9201c6
CXXFLAGS="-std=c++11"
9201c6
export CXXFLAGS
9201c6
#LDFLAGS="-L%{_libdir}/dyninst"
9201c6
LDFLAGS="-L%{_libdir} -L%{_libdir}/dyninst -L%{_libdir}/elfutils"
9201c6
export LDFLAGS
9201c6
9201c6
%if %{with_virthost}
9201c6
%global virt_config --enable-virt
9201c6
%else
9201c6
%global virt_config --disable-virt
9201c6
%endif
9201c6
9201c6
%if %{with_dracut}
9201c6
%global dracut_config --with-dracutstap=%{dracutstap}
9201c6
%else
9201c6
%global dracut_config
9201c6
%endif
9201c6
9201c6
%if %{with_python3}
9201c6
%global python3_config --with-python3
9201c6
%else
9201c6
%global python3_config --without-python3
9201c6
%endif
9201c6
# We don't ship compileworthy python code, just oddball samples
9201c6
%global py_auto_byte_compile 0
9201c6
9201c6
%configure %{?elfutils_config} %{dyninst_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{rpm_config} %{java_config} %{virt_config} %{dracut_config} %{python3_config} --disable-silent-rules --with-extra-version="rpm %{version}-%{release}" have_fop=no
9201c6
make %{?_smp_mflags}
9201c6
9201c6
%if %{with_emacsvim}
9201c6
%{_emacs_bytecompile} emacs/systemtap-mode.el
9201c6
%endif
9201c6
9201c6
%install
9201c6
rm -rf ${RPM_BUILD_ROOT}
9201c6
make DESTDIR=$RPM_BUILD_ROOT install
9201c6
%find_lang systemtap
9201c6
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
9201c6
    dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
9201c6
    lang=$(basename $dir)
9201c6
    echo "%%lang($lang) $dir/man*/*" >> systemtap.lang
9201c6
done
9201c6
9201c6
# We want the examples in the special doc dir, not the build install dir.
9201c6
# We build it in place and then move it away so it doesn't get installed
9201c6
# twice. rpm can specify itself where the (versioned) docs go with the
9201c6
# %doc directive.
9201c6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples
9201c6
9201c6
# Fix paths in the example scripts.
9201c6
find examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
9201c6
9201c6
# To make rpmlint happy, remove any .gitignore files in the testsuite.
9201c6
find testsuite -type f -name '.gitignore' -print0 | xargs -0 rm -f
9201c6
9201c6
# Because "make install" may install staprun with whatever mode, the
9201c6
# post-processing programs rpmbuild runs won't be able to read it.
9201c6
# So, we change permissions so that they can read it.  We'll set the
9201c6
# permissions back to 04110 in the %files section below.
9201c6
chmod 755 $RPM_BUILD_ROOT%{_bindir}/staprun
9201c6
9201c6
#install the useful stap-prep script
9201c6
install -c -m 755 stap-prep $RPM_BUILD_ROOT%{_bindir}/stap-prep
9201c6
9201c6
# Copy over the testsuite
9201c6
cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
9201c6
9201c6
%if %{with_docs}
9201c6
# We want the manuals in the special doc dir, not the generic doc install dir.
9201c6
# We build it in place and then move it away so it doesn't get installed
9201c6
# twice. rpm can specify itself where the (versioned) docs go with the
9201c6
# %doc directive.
9201c6
mkdir docs.installed
9201c6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
9201c6
%if %{with_htmldocs}
9201c6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/tapsets docs.installed/
9201c6
mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
9201c6
%endif
9201c6
%endif
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server
9201c6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server
9201c6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/stap-server/.systemtap
9201c6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server
9201c6
touch $RPM_BUILD_ROOT%{_localstatedir}/log/stap-server/log
9201c6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/systemtap
9201c6
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/systemtap
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
9201c6
install -m 644 initscript/logrotate.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/stap-server
9201c6
mkdir -p $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/
9201c6
install -m 755 initscript/systemtap $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/%{?scl_prefix}systemtap
9201c6
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{sysconfdir}/rc.d/init.d/%{?scl_prefix}stap-server
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/conf.d
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/script.d
9201c6
install -m 644 initscript/config.systemtap $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/config
9201c6
9201c6
%if %{with_systemd}
9201c6
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
9201c6
touch $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}stap-server.service
9201c6
install -m 644 stap-server.service $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}stap-server.service
9201c6
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
9201c6
install -m 644 stap-server.conf $RPM_BUILD_ROOT%{_tmpfilesdir}/%{?scl_prefix}stap-server.conf
9201c6
%else
9201c6
install -m 755 initscript/stap-server $RPM_BUILD_ROOT%{initdir}/%{?scl_prefix}stap-server
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/stap-server/conf.d
9201c6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
9201c6
install -m 644 initscript/config.stap-server $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/stap-server
9201c6
%endif
9201c6
9201c6
%if %{with_emacsvim}
9201c6
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}
9201c6
install -p -m 644 emacs/systemtap-mode.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}
9201c6
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
9201c6
install -p -m 644 emacs/systemtap-init.el $RPM_BUILD_ROOT%{_emacs_sitestartdir}/systemtap-init.el
9201c6
for subdir in ftdetect ftplugin indent syntax
9201c6
do
9201c6
    mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
9201c6
    install -p -m 644 vim/$subdir/*.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/$subdir
9201c6
done
9201c6
%endif
9201c6
9201c6
%if %{with_virtguest}
9201c6
   mkdir -p $RPM_BUILD_ROOT%{udevrulesdir}
9201c6
   %if %{with_systemd}
9201c6
      install -p -m 644 staprun/guest/99-stapsh.rules $RPM_BUILD_ROOT%{udevrulesdir}
9201c6
      mkdir -p $RPM_BUILD_ROOT%{_unitdir}
9201c6
      install -p -m 644 staprun/guest/stapsh@.service $RPM_BUILD_ROOT%{_unitdir}
9201c6
   %else
9201c6
      install -p -m 644 staprun/guest/99-stapsh-init.rules $RPM_BUILD_ROOT%{udevrulesdir}
9201c6
      install -p -m 755 staprun/guest/stapshd $RPM_BUILD_ROOT%{initdir}
9201c6
      mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/systemtap
9201c6
      install -p -m 755 staprun/guest/stapsh-daemon $RPM_BUILD_ROOT%{_libexecdir}/systemtap
9201c6
      mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
9201c6
      # Technically, this is only needed for RHEL5, in which the MODULE_ALIAS is missing, but
9201c6
      # it does no harm in RHEL6 as well
9201c6
      install -p -m 755 staprun/guest/virtio_console.modules $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
9201c6
   %endif
9201c6
%endif
9201c6
9201c6
%if %{with_dracut}
9201c6
   mkdir -p $RPM_BUILD_ROOT%{dracutstap}
9201c6
   install -p -m 755 initscript/99stap/module-setup.sh $RPM_BUILD_ROOT%{dracutstap}
9201c6
   install -p -m 755 initscript/99stap/start-staprun.sh $RPM_BUILD_ROOT%{dracutstap}
9201c6
   touch $RPM_BUILD_ROOT%{dracutstap}/params.conf
9201c6
%endif
9201c6
9201c6
%clean
9201c6
rm -rf ${RPM_BUILD_ROOT}
9201c6
9201c6
%pre runtime
9201c6
getent group stapusr >/dev/null || groupadd -g 156 -r stapusr 2>/dev/null || groupadd -r stapusr
9201c6
getent group stapsys >/dev/null || groupadd -g 157 -r stapsys 2>/dev/null || groupadd -r stapsys
9201c6
getent group stapdev >/dev/null || groupadd -g 158 -r stapdev 2>/dev/null || groupadd -r stapdev
9201c6
exit 0
9201c6
9201c6
%pre server
9201c6
getent group stap-server >/dev/null || groupadd -g 155 -r stap-server 2>/dev/null || groupadd -r stap-server
9201c6
getent passwd stap-server >/dev/null || \
9201c6
  useradd -c "Systemtap Compile Server" -u 155 -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server 2>/dev/null || \
9201c6
  useradd -c "Systemtap Compile Server" -g stap-server -d %{_localstatedir}/lib/stap-server -r -s /sbin/nologin stap-server
9201c6
9201c6
%post server
9201c6
9201c6
# We have some duplication between the %files listings for the
9201c6
# ~stap-server directories and the explicit mkdir/chown/chmod bits
9201c6
# here.  Part of the reason may be that a preexisting stap-server
9201c6
# account may well be placed somewhere other than
9201c6
# %{_localstatedir}/lib/stap-server, but we'd like their permissions
9201c6
# set similarly.
9201c6
9201c6
test -e ~stap-server && chmod 750 ~stap-server
9201c6
9201c6
if [ ! -f ~stap-server/.systemtap/rc ]; then
9201c6
  mkdir -p ~stap-server/.systemtap
9201c6
  chown stap-server:stap-server ~stap-server/.systemtap
9201c6
  # PR16276: guess at a reasonable number for a default --rlimit-nproc
9201c6
  numcpu=`/usr/bin/getconf _NPROCESSORS_ONLN`
9201c6
  if [ -z "$numcpu" -o "$numcpu" -lt 1 ]; then numcpu=1; fi
9201c6
  nproc=`expr $numcpu \* 30`
9201c6
  echo "--rlimit-as=614400000 --rlimit-cpu=60 --rlimit-nproc=$nproc --rlimit-stack=1024000 --rlimit-fsize=51200000" > ~stap-server/.systemtap/rc
9201c6
  chown stap-server:stap-server ~stap-server/.systemtap/rc
9201c6
fi
9201c6
9201c6
test -e %{_localstatedir}/log/stap-server/log || {
9201c6
     touch %{_localstatedir}/log/stap-server/log
9201c6
     chmod 644 %{_localstatedir}/log/stap-server/log
9201c6
     chown stap-server:stap-server %{_localstatedir}/log/stap-server/log
9201c6
}
9201c6
# Prepare the service
9201c6
%if %{with_systemd}
9201c6
     # Note, Fedora policy doesn't allow network services enabled by default
9201c6
     # /bin/systemctl enable stap-server.service >/dev/null 2>&1 || :
9201c6
     /bin/systemd-tmpfiles --create %{_tmpfilesdir}/stap-server.conf >/dev/null 2>&1 || :
9201c6
%else
9201c6
    /sbin/chkconfig --add %{?scl_prefix}stap-server
9201c6
%endif
9201c6
exit 0
9201c6
9201c6
%triggerin client -- systemtap-server
9201c6
if test -e ~stap-server/.systemtap/ssl/server/stap.cert; then
9201c6
   # echo Authorizing ssl-peer/trusted-signer certificate for local systemtap-server
9201c6
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/ssl/client >/dev/null
9201c6
   %{_libexecdir}/systemtap/stap-authorize-cert ~stap-server/.systemtap/ssl/server/stap.cert %{_sysconfdir}/systemtap/staprun >/dev/null
9201c6
fi
9201c6
exit 0
9201c6
# XXX: corresponding %triggerun?
9201c6
9201c6
%preun server
9201c6
# Check that this is the actual deinstallation of the package, as opposed to
9201c6
# just removing the old package on upgrade.
9201c6
if [ $1 = 0 ] ; then
9201c6
    %if %{with_systemd}
9201c6
       /bin/systemctl --no-reload disable stap-server.service >/dev/null 2>&1 || :
9201c6
       /bin/systemctl stop stap-server.service >/dev/null 2>&1 || :
9201c6
    %else
9201c6
        /sbin/service %{?scl_prefix}stap-server stop >/dev/null 2>&1
9201c6
        /sbin/chkconfig --del %{?scl_prefix}stap-server
9201c6
    %endif
9201c6
fi
9201c6
exit 0
9201c6
9201c6
%postun server
9201c6
# Check whether this is an upgrade of the package.
9201c6
# If so, restart the service if it's running
9201c6
if [ "$1" -ge "1" ] ; then
9201c6
    %if %{with_systemd}
9201c6
        /bin/systemctl condrestart stap-server.service >/dev/null 2>&1 || :
9201c6
    %else
9201c6
        /sbin/service %{?scl_prefix}stap-server condrestart >/dev/null 2>&1 || :
9201c6
    %endif
9201c6
fi
9201c6
exit 0
9201c6
9201c6
%post initscript
9201c6
%if %{with_systemd}
9201c6
    /bin/systemctl enable systemtap.service >/dev/null 2>&1 || :
9201c6
%else
9201c6
    /sbin/chkconfig --add %{?scl_prefix}systemtap
9201c6
%endif
9201c6
exit 0
9201c6
9201c6
%preun initscript
9201c6
# Check that this is the actual deinstallation of the package, as opposed to
9201c6
# just removing the old package on upgrade.
9201c6
if [ $1 = 0 ] ; then
9201c6
    %if %{with_systemd}
9201c6
        /bin/systemctl --no-reload disable systemtap.service >/dev/null 2>&1 || :
9201c6
        /bin/systemctl stop systemtap.service >/dev/null 2>&1 || :
9201c6
    %else
9201c6
        /sbin/service %{?scl_prefix}systemtap stop >/dev/null 2>&1
9201c6
        /sbin/chkconfig --del %{?scl_prefix}systemtap
9201c6
    %endif
9201c6
fi
9201c6
exit 0
9201c6
9201c6
%postun initscript
9201c6
# Check whether this is an upgrade of the package.
9201c6
# If so, restart the service if it's running
9201c6
if [ "$1" -ge "1" ] ; then
9201c6
    %if %{with_systemd}
9201c6
        /bin/systemctl condrestart systemtap.service >/dev/null 2>&1 || :
9201c6
    %else
9201c6
        /sbin/service %{?scl_prefix}systemtap condrestart >/dev/null 2>&1 || :
9201c6
    %endif
9201c6
fi
9201c6
exit 0
9201c6
9201c6
%if %{with_virtguest}
9201c6
%post runtime-virtguest
9201c6
%if %{with_systemd}
9201c6
   # Start services if there are ports present
9201c6
   if [ -d /dev/virtio-ports ]; then
9201c6
      (find /dev/virtio-ports -iname 'org.systemtap.stapsh.[0-9]*' -type l \
9201c6
         | xargs -n 1 basename \
9201c6
         | xargs -n 1 -I {} /bin/systemctl start stapsh@{}.service) >/dev/null 2>&1 || :
9201c6
   fi
9201c6
%else
9201c6
   /sbin/chkconfig --add stapshd
9201c6
   /sbin/chkconfig stapshd on
9201c6
   /sbin/service stapshd start >/dev/null 2>&1 || :
9201c6
%endif
9201c6
exit 0
9201c6
9201c6
%preun runtime-virtguest
9201c6
# Stop service if this is an uninstall rather than an upgrade
9201c6
if [ $1 = 0 ]; then
9201c6
   %if %{with_systemd}
9201c6
      # We need to stop all stapsh services. Because they are instantiated from
9201c6
      # a template service file, we can't simply call disable. We need to find
9201c6
      # all the running ones and stop them all individually
9201c6
      for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
9201c6
         /bin/systemctl stop $service >/dev/null 2>&1 || :
9201c6
      done
9201c6
   %else
9201c6
      /sbin/service stapshd stop >/dev/null 2>&1
9201c6
      /sbin/chkconfig --del stapshd
9201c6
   %endif
9201c6
fi
9201c6
exit 0
9201c6
9201c6
%postun runtime-virtguest
9201c6
# Restart service if this is an upgrade rather than an uninstall
9201c6
if [ "$1" -ge "1" ]; then
9201c6
   %if %{with_systemd}
9201c6
      # We need to restart all stapsh services. Because they are instantiated from
9201c6
      # a template service file, we can't simply call restart. We need to find
9201c6
      # all the running ones and restart them all individually
9201c6
      for service in `/bin/systemctl --full | grep stapsh@ | cut -d ' ' -f 1`; do
9201c6
         /bin/systemctl condrestart $service >/dev/null 2>&1 || :
9201c6
      done
9201c6
   %else
9201c6
      /sbin/service stapshd condrestart >/dev/null 2>&1
9201c6
   %endif
9201c6
fi
9201c6
exit 0
9201c6
%endif
9201c6
9201c6
%post
9201c6
# Remove any previously-built uprobes.ko materials
9201c6
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
9201c6
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9201c6
9201c6
%preun
9201c6
# Ditto
9201c6
(make -C %{_datadir}/systemtap/runtime/uprobes clean) >/dev/null 2>&1 || true
9201c6
(/sbin/rmmod uprobes) >/dev/null 2>&1 || true
9201c6
9201c6
# ------------------------------------------------------------------------
9201c6
9201c6
%if %{with_java}
9201c6
9201c6
%triggerin runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
9201c6
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
9201c6
    %ifarch %{ix86}
9201c6
	arch=i386
9201c6
    %else
9201c6
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
9201c6
    %endif
9201c6
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
9201c6
	 if [ -d ${archdir} ]; then
9201c6
            ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
9201c6
            ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
9201c6
	 fi
9201c6
    done
9201c6
done
9201c6
9201c6
%triggerun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
9201c6
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
9201c6
    %ifarch %{ix86}
9201c6
	arch=i386
9201c6
    %else
9201c6
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
9201c6
    %endif
9201c6
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
9201c6
        rm -f ${archdir}/libHelperSDT_${arch}.so
9201c6
        rm -f ${archdir}/../ext/HelperSDT.jar
9201c6
    done
9201c6
done
9201c6
9201c6
%triggerpostun runtime-java -- java-1.8.0-openjdk, java-1.7.0-openjdk, java-1.6.0-openjdk
9201c6
# Restore links for any JDKs remaining after a package removal:
9201c6
for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do
9201c6
    %ifarch %{ix86}
9201c6
	arch=i386
9201c6
    %else
9201c6
        arch=`basename $f | cut -f2 -d_ | cut -f1 -d.`
9201c6
    %endif
9201c6
    for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do
9201c6
	 if [ -d ${archdir} ]; then
9201c6
            ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so
9201c6
            ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar
9201c6
	 fi
9201c6
    done
9201c6
done
9201c6
9201c6
# XXX: analogous support for other types of JRE/JDK??
9201c6
9201c6
%endif
9201c6
9201c6
# ------------------------------------------------------------------------
9201c6
9201c6
%files -f systemtap.lang
9201c6
# The master "systemtap" rpm doesn't include any files.
9201c6
9201c6
%files server -f systemtap.lang
9201c6
%defattr(-,root,root)
9201c6
%{_bindir}/stap-server
9201c6
%dir %{_libexecdir}/systemtap
9201c6
%{_libexecdir}/systemtap/stap-serverd
9201c6
%{_libexecdir}/systemtap/stap-start-server
9201c6
%{_libexecdir}/systemtap/stap-stop-server
9201c6
%{_libexecdir}/systemtap/stap-gen-cert
9201c6
%{_libexecdir}/systemtap/stap-sign-module
9201c6
%{_libexecdir}/systemtap/stap-authorize-cert
9201c6
%{_libexecdir}/systemtap/stap-env
9201c6
%{_mandir}/man7/error*
9201c6
%{_mandir}/man7/stappaths.7*
9201c6
%{_mandir}/man7/warning*
9201c6
%{_mandir}/man8/stap-server.8*
9201c6
%if %{with_systemd}
9201c6
%{_unitdir}/stap-server.service
9201c6
%{_tmpfilesdir}/stap-server.conf
9201c6
%else
9201c6
%{initdir}/%{?scl_prefix}stap-server
9201c6
%dir %{_sysconfdir}/stap-server/conf.d
9201c6
%config(noreplace) %{_sysconfdir}/sysconfig/stap-server
9201c6
%endif
9201c6
%config(noreplace) %{_sysconfdir}/logrotate.d/stap-server
9201c6
%dir %{_sysconfdir}/stap-server
9201c6
%dir %attr(0750,stap-server,stap-server) %{_localstatedir}/lib/stap-server
9201c6
%dir %attr(0700,stap-server,stap-server) %{_localstatedir}/lib/stap-server/.systemtap
9201c6
%dir %attr(0755,stap-server,stap-server) %{_localstatedir}/log/stap-server
9201c6
%ghost %config(noreplace) %attr(0644,stap-server,stap-server) %{_localstatedir}/log/stap-server/log
9201c6
%ghost %attr(0755,stap-server,stap-server) %{_localstatedir}/run/stap-server
9201c6
%doc README README.unprivileged AUTHORS NEWS 
9201c6
%{!?_licensedir:%global license %%doc}
9201c6
%license COPYING
9201c6
9201c6
9201c6
%files devel -f systemtap.lang
9201c6
%{_bindir}/stap
9201c6
%{_bindir}/stap-prep
9201c6
%{_bindir}/stap-report
9201c6
%dir %{_datadir}/systemtap
9201c6
%{_datadir}/systemtap/runtime
9201c6
%{_datadir}/systemtap/tapset
9201c6
%{_mandir}/man1/stap.1*
9201c6
%{_mandir}/man1/stap-prep.1*
9201c6
%{_mandir}/man1/stap-report.1*
9201c6
%{_mandir}/man7/error*
9201c6
%{_mandir}/man7/stappaths.7*
9201c6
%{_mandir}/man7/warning*
9201c6
%doc README README.unprivileged AUTHORS NEWS 
9201c6
%{!?_licensedir:%global license %%doc}
9201c6
%license COPYING
9201c6
%if %{with_java}
9201c6
%dir %{_libexecdir}/systemtap
9201c6
%{_libexecdir}/systemtap/libHelperSDT_*.so
9201c6
%endif
9201c6
%if %{with_bundled_elfutils}
9201c6
%dir %{_libdir}/systemtap
9201c6
%{_libdir}/systemtap/lib*.so*
9201c6
%endif
9201c6
%if %{with_emacsvim}
9201c6
%{_emacs_sitelispdir}/*.el*
9201c6
%{_emacs_sitestartdir}/systemtap-init.el
9201c6
%{_datadir}/vim/vimfiles/*/*.vim
9201c6
%endif
9201c6
9201c6
9201c6
%files runtime -f systemtap.lang
9201c6
%defattr(-,root,root)
9201c6
%attr(4110,root,stapusr) %{_bindir}/staprun
9201c6
%{_bindir}/stapsh
9201c6
%{_bindir}/stap-merge
9201c6
%{_bindir}/stap-report
9201c6
%if %{with_dyninst}
9201c6
%{_bindir}/stapdyn
9201c6
%endif
9201c6
%dir %{_libexecdir}/systemtap
9201c6
%{_libexecdir}/systemtap/stapio
9201c6
%{_libexecdir}/systemtap/stap-authorize-cert
9201c6
%if %{with_crash}
9201c6
%dir %{_libdir}/systemtap
9201c6
%{_libdir}/systemtap/staplog.so*
9201c6
%endif
9201c6
%{_mandir}/man1/stap-report.1*
9201c6
%{_mandir}/man7/error*
9201c6
%{_mandir}/man7/stappaths.7*
9201c6
%{_mandir}/man7/warning*
9201c6
%{_mandir}/man8/stapsh.8*
9201c6
%{_mandir}/man8/staprun.8*
9201c6
%if %{with_dyninst}
9201c6
%{_mandir}/man8/stapdyn.8*
9201c6
%endif
9201c6
%doc README README.security AUTHORS NEWS 
9201c6
%{!?_licensedir:%global license %%doc}
9201c6
%license COPYING
9201c6
9201c6
9201c6
%files client -f systemtap.lang
9201c6
%defattr(-,root,root)
9201c6
%doc README README.unprivileged AUTHORS NEWS examples
9201c6
%{!?_licensedir:%global license %%doc}
9201c6
%license COPYING
9201c6
%if %{with_docs}
9201c6
%doc docs.installed/*.pdf
9201c6
%if %{with_htmldocs}
9201c6
%doc docs.installed/tapsets/*.html
9201c6
%doc docs.installed/SystemTap_Beginners_Guide
9201c6
%endif
9201c6
%endif
9201c6
%{_bindir}/stap
9201c6
%{_bindir}/stap-prep
9201c6
%{_bindir}/stap-report
9201c6
%{_mandir}/man1/stap.1*
9201c6
%{_mandir}/man1/stap-prep.1*
9201c6
%{_mandir}/man1/stap-merge.1*
9201c6
%{_mandir}/man1/stap-report.1*
9201c6
%{_mandir}/man1/stapref.1*
9201c6
%{_mandir}/man3/*
9201c6
%{_mandir}/man7/error*
9201c6
%{_mandir}/man7/stappaths.7*
9201c6
%{_mandir}/man7/warning*
9201c6
%dir %{_datadir}/systemtap
9201c6
%{_datadir}/systemtap/tapset
9201c6
9201c6
9201c6
9201c6
%files initscript
9201c6
%defattr(-,root,root)
9201c6
%{sysconfdir}/rc.d/init.d/%{?scl_prefix}systemtap
9201c6
%dir %{_sysconfdir}/systemtap
9201c6
%dir %{_sysconfdir}/systemtap/conf.d
9201c6
%dir %{_sysconfdir}/systemtap/script.d
9201c6
%config(noreplace) %{_sysconfdir}/systemtap/config
9201c6
%dir %{_localstatedir}/cache/systemtap
9201c6
%ghost %{_localstatedir}/run/systemtap
9201c6
%{_mandir}/man8/systemtap.8*
9201c6
%if %{with_dracut}
9201c6
   %dir %{dracutstap}
9201c6
   %{dracutstap}/*
9201c6
%endif
9201c6
9201c6
9201c6
%files sdt-devel -f systemtap.lang
9201c6
%defattr(-,root,root)
9201c6
%{_bindir}/dtrace
9201c6
%{_includedir}/sys/sdt.h
9201c6
%{_includedir}/sys/sdt-config.h
9201c6
%{_mandir}/man1/dtrace.1*
9201c6
%doc README AUTHORS NEWS 
9201c6
%{!?_licensedir:%global license %%doc}
9201c6
%license COPYING
9201c6
9201c6
9201c6
%files testsuite
9201c6
%defattr(-,root,root)
9201c6
%dir %{_datadir}/systemtap
9201c6
%{_datadir}/systemtap/testsuite
9201c6
9201c6
9201c6
%if %{with_java}
9201c6
%files runtime-java
9201c6
%dir %{_libexecdir}/systemtap
9201c6
%{_libexecdir}/systemtap/libHelperSDT_*.so
9201c6
%{_libexecdir}/systemtap/HelperSDT.jar
9201c6
%{_libexecdir}/systemtap/stapbm
9201c6
%endif
9201c6
9201c6
%if %{with_virthost}
9201c6
%files runtime-virthost
9201c6
%{_mandir}/man1/stapvirt.1*
9201c6
%{_bindir}/stapvirt
9201c6
%endif
9201c6
9201c6
%if %{with_virtguest}
9201c6
%files runtime-virtguest
9201c6
%if %{with_systemd}
9201c6
   %{udevrulesdir}/99-stapsh.rules
9201c6
   %{_unitdir}/stapsh@.service
9201c6
%else
9201c6
   %{udevrulesdir}/99-stapsh-init.rules
9201c6
   %dir %{_libexecdir}/systemtap
9201c6
   %{_libexecdir}/systemtap/stapsh-daemon
9201c6
   %{initdir}/stapshd
9201c6
   %{_sysconfdir}/sysconfig/modules/virtio_console.modules
9201c6
%endif
9201c6
%endif
9201c6
9201c6
# ------------------------------------------------------------------------
9201c6
9201c6
# Future new-release entries should be of the form
9201c6
# * DDD MMM DD YYYY YOURNAME <YOUREMAIL> - V-R
9201c6
# - Upstream release, see wiki page below for detailed notes.
9201c6
#   http://sourceware.org/systemtap/wiki/SystemTapReleases
9201c6
9201c6
%changelog
9201c6
* Thu Sep 22 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-8s
9201c6
- rhbz1378462 stap-server tls cert creation
9201c6
9201c6
* Mon Sep 19 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-7s
9201c6
- rhbz1376515 ppc64le probe point / parameter value fix
9201c6
9201c6
* Wed Aug 24 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-6
9201c6
- rhbz1346112 delay tls cert creation redux
9201c6
9201c6
* Thu Aug 11 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-5
9201c6
- rhbz1312169 stap-prep debuginfo-install improvement
9201c6
9201c6
* Tue Aug 09 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-4s
9201c6
- rhbz1365550 PR19874 alarm(60) in staprun system()
9201c6
9201c6
* Thu Jul 21 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-3s
9201c6
- rhbz1346112 delay tls cert creation
9201c6
- rhbz1269062 null elevator
9201c6
- rhbz1337416 'count' tapset variable - autocast/@defined
9201c6
9201c6
* Wed May 04 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-2
9201c6
- 4 upstream patches for kernel lockdep hygiene, bz1242368
9201c6
9201c6
* Tue May 03 2016 Frank Ch. Eigler <fche@redhat.com> - 3.0-1
9201c6
- Upstream release.
9201c6
9201c6
* Fri Apr 01 2016 Frank Ch. Eigler <fche@redhat.com> - 2.9-3s
9201c6
- buildroot bump
9201c6
9201c6
* Thu Feb 25 2016 Frank Ch. Eigler <fche@redhat.com> - 2.9-2s
9201c6
- buildroot bump
9201c6
9201c6
* Fri Jan 29 2016 Josh Stone <jistone@redhat.com> - 2.9-1s
9201c6
- rebase to upstream 2.9
9201c6
9201c6
* Tue Jul  7 2015 Frank Ch. Eigler <fche@redhat.com> - 2.8-4
9201c6
- rhbz1224363 (rebase to upstream 2.8+)
9201c6
9201c6
* Wed Mar 25 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-11
9201c6
- rhbz1121363 (dracut support)
9201c6
9201c6
* Fri Feb 13 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-10
9201c6
- rhbz1172781 (nfs3_proc_read_setup tapset)
9201c6
- rhbz1128209 (uninstalled stapvirt files found)
9201c6
9201c6
* Fri Jan 09 2015 Frank Ch. Eigler <fche@redhat.com> - 2.6-9
9201c6
- dts3.1 merge from rhel-7.1
9201c6
- remove bodies of with_java, with_virtguest, with_virthost conditionals
9201c6
9201c6
* Wed Dec 10 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-8
9201c6
- rhbz1171823 (nfsd svc_fh access)
9201c6
9201c6
* Wed Nov 26 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-7
9201c6
- rhbz1167652 (stap dracut empty)
9201c6
9201c6
* Thu Nov 20 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-6
9201c6
- rhbz1164373 (fix ppc64 kprobes via KERNEL_RELOC_SYMBOL)
9201c6
- rhbz1119335 (document STAP_FIPS_OVERRIDE in staprun.8)
9201c6
- rhbz1127591 (ppc64 hcall_* tracepoint blacklisting)
9201c6
9201c6
* Fri Oct 17 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-5
9201c6
- RHBZ1153673 (stap segv during optimization)
9201c6
9201c6
* Fri Sep 19 2014 Frank Ch. Eigler <fche@redhat.com> - 2.6-3
9201c6
- Added probinson's patch BZ1141919 for enabling more ppc64/aarch64 facilities,
9201c6
  with some staplog.c followup
9201c6
9201c6
* Tue Sep 09 2014 Josh Stone <jistone@redhat.com> - 2.6-2
9201c6
- Backport fix for 1139844
9201c6
9201c6
* Fri Sep 05 2014 Josh Stone <jistone@redhat.com> - 2.6-1
9201c6
- Upstream release, rebased for 1107735
9201c6
9201c6
* Wed Aug 27 2014 Josh Stone <jistone@redhat.com> - 2.4-16
9201c6
- Exclude ppc64le from with_crash (1125693)
9201c6
9201c6
* Tue Aug 26 2014 Josh Stone <jistone@redhat.com> - 2.4-15
9201c6
- Tighten arch lists for prelink and dyninst (1094349, 1125693)
9201c6
9201c6
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-14
9201c6
- Small fix on latest backport fix for dyninst runtime
9201c6
9201c6
* Fri Mar 28 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-13
9201c6
- Backport fixes for 1051649 (see comments 4 and 5)
9201c6
9201c6
* Thu Mar 06 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-12
9201c6
- Backport fix for 1073640
9201c6
9201c6
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-11
9201c6
- Backport fix for 847285
9201c6
9201c6
* Wed Feb 12 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-10
9201c6
- Apply spec file patches to this one, not the tarred one
9201c6
- Add missing autoreconf patch for backport feature (1051649)
9201c6
9201c6
* Tue Feb 11 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-9
9201c6
- Backport fixes for: 1062076, 1020207
9201c6
9201c6
* Tue Jan 28 2014 Daniel Mach <dmach@redhat.com> - 2.4-8
9201c6
- Mass rebuild 2014-01-24
9201c6
9201c6
* Fri Jan 24 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-7
9201c6
- Backport fix for 1057773
9201c6
9201c6
* Wed Jan 22 2014 Frank Ch. Subbackportmeister Eigler <fche@redhat.com> - 2.4-6
9201c6
- Backport fixes for: 1056687
9201c6
9201c6
* Wed Jan 22 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-5
9201c6
- Backport fixes for: 1035752, 1035850
9201c6
9201c6
* Tue Jan 21 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-4
9201c6
- Backport fix for 1055778
9201c6
9201c6
* Fri Jan 17 2014 Jonathan Lebon <jlebon@redhat.com> - 2.4-3
9201c6
- Backport fixes for: 1054962, 1054956, 1054954, 1044429
9201c6
- Backport boot-time probing feature (1051649)
9201c6
9201c6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.4-2
9201c6
- Mass rebuild 2013-12-27
9201c6
9201c6
* Wed Nov 06 2013 Frank Ch. Eigler <fche@redhat.com> - 2.4-1
9201c6
- Upstream release.
9201c6
9201c6
* Wed Oct 09 2013 Jonathan Lebon <jlebon@redhat.com>
9201c6
- Added runtime-virthost and runtime-virtguest packages.
9201c6
9201c6
* Thu Jul 25 2013 Frank Ch. Eigler <fche@redhat.com> - 2.3-1
9201c6
- Upstream release.
9201c6
9201c6
* Thu May 16 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2.1-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue May 14 2013 Frank Ch. Eigler <fche@redhat.com> - 2.2-1
9201c6
- Upstream release.
9201c6
9201c6
* Wed Feb 13 2013 Serguei Makarov <smakarov@redhat.com> - 2.1-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue Oct 09 2012 Josh Stone <jistone@redhat.com> - 2.0-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue Sep 11 2012 William Cohen <wcohen@redhat.com> - 1.8-7
9201c6
- rhbz847919 need scl-compatible init scripts
9201c6
- Backported fixes:
9201c6
- rhbz848459 "groupadd: GID 156 is not unique" while installing systemtap-runtime-1.8-4.el5
9201c6
- rhbz848460 sdt.c on systemtap-testsuite cannot be compiled
9201c6
- rhbz848461 /usr/libexec/systemtap/stap-authorize-cert: No such file or directory
9201c6
9201c6
* Wed Sep 5 2012 William Cohen <wcohen@redhat.com> - 1.8-6
9201c6
- Backport fix for rhbz853357.
9201c6
9201c6
* Thu Jul 5 2012 William Cohen <wcohen@redhat.com> - 1.8-5
9201c6
- Make compatible with software collections.
9201c6
9201c6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-4
9201c6
- Backported fix for pr14325
9201c6
9201c6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-3
9201c6
- No publican in rhel 5.
9201c6
9201c6
* Wed Jun 27 2012 Stan Cox <scox@redhat.com> - 1.8-2
9201c6
- Add s390 to the publican blacklist.
9201c6
9201c6
* Sun Jun 17 2012 Frank Ch. Eigler <fche@redhat.com> - 1.8-1
9201c6
- Upstream release.
9201c6
9201c6
* Wed Feb 01 2012 Frank Ch. Eigler <fche@redhat.com> - 1.7-1
9201c6
- Upstream release.
9201c6
9201c6
* Fri Jan 13 2012 David Smith <dsmith@redhat.com> - 1.6-2
9201c6
- Fixed /bin/mktemp require.
9201c6
9201c6
* Mon Jul 25 2011 Stan Cox <scox@redhat.com> - 1.6-1
9201c6
- Upstream release.
9201c6
9201c6
* Mon May 23 2011 Stan Cox <scox@redhat.com> - 1.5-1
9201c6
- Upstream release.
9201c6
9201c6
* Mon Jan 17 2011 Frank Ch. Eigler <fche@redhat.com> - 1.4-1
9201c6
- Upstream release.
9201c6
9201c6
* Wed Jul 21 2010 Josh Stone <jistone@redhat.com> - 1.3-1
9201c6
- Upstream release.
9201c6
9201c6
* Mon Mar 22 2010 Frank Ch. Eigler <fche@redhat.com> - 1.2-1
9201c6
- Upstream release.
9201c6
9201c6
* Mon Dec 21 2009 David Smith <dsmith@redhat.com> - 1.1-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue Sep 22 2009 Josh Stone <jistone@redhat.com> - 1.0-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue Aug  4 2009 Josh Stone <jistone@redhat.com> - 0.9.9-1
9201c6
- Upstream release.
9201c6
9201c6
* Thu Jun 11 2009 Josh Stone <jistone@redhat.com> - 0.9.8-1
9201c6
- Upstream release.
9201c6
9201c6
* Thu Apr 23 2009 Josh Stone <jistone@redhat.com> - 0.9.7-1
9201c6
- Upstream release.
9201c6
9201c6
* Fri Mar 27 2009 Josh Stone <jistone@redhat.com> - 0.9.5-1
9201c6
- Upstream release.
9201c6
9201c6
* Wed Mar 18 2009 Will Cohen <wcohen@redhat.com> - 0.9-2
9201c6
- Add location of man pages.
9201c6
9201c6
* Tue Feb 17 2009 Frank Ch. Eigler <fche@redhat.com> - 0.9-1
9201c6
- Upstream release.
9201c6
9201c6
* Thu Nov 13 2008 Frank Ch. Eigler <fche@redhat.com> - 0.8-1
9201c6
- Upstream release.
9201c6
9201c6
* Tue Jul 15 2008 Frank Ch. Eigler <fche@redhat.com> - 0.7-1
9201c6
- Upstream release.
9201c6
9201c6
* Fri Feb  1 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-3
9201c6
- Add zlib-devel to buildreq; missing from crash-devel
9201c6
- Process testsuite .stp files for #!stap->#!/usr/bin/stap
9201c6
9201c6
* Fri Jan 18 2008 Frank Ch. Eigler <fche@redhat.com> - 0.6.1-1
9201c6
- Add crash-devel buildreq to build staplog.so crash(8) module.
9201c6
- Many robustness & functionality improvements:
9201c6
9201c6
* Wed Dec  5 2007 Will Cohen <wcohen@redhat.com> - 0.6-2
9201c6
- Correct Source to point to location contain code.
9201c6
9201c6
* Thu Aug  9 2007 David Smith <dsmith@redhat.com> - 0.6-1
9201c6
- Bumped version, added libcap-devel BuildRequires.
9201c6
9201c6
* Wed Jul 11 2007 Will Cohen <wcohen@redhat.com> - 0.5.14-2
9201c6
- Fix Requires and BuildRequires for sqlite.
9201c6
9201c6
* Mon Jul  2 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.14-1
9201c6
- Many robustness improvements: 1117, 1134, 1305, 1307, 1570, 1806,
9201c6
  2033, 2116, 2224, 2339, 2341, 2406, 2426, 2438, 2583, 3037,
9201c6
  3261, 3282, 3331, 3428 3519, 3545, 3625, 3648, 3880, 3888, 3911,
9201c6
  3952, 3965, 4066, 4071, 4075, 4078, 4081, 4096, 4119, 4122, 4127,
9201c6
  4146, 4171, 4179, 4183, 4221, 4224, 4254, 4281, 4319, 4323, 4326,
9201c6
  4329, 4332, 4337, 4415, 4432, 4444, 4445, 4458, 4467, 4470, 4471,
9201c6
  4518, 4567, 4570, 4579, 4589, 4609, 4664
9201c6
9201c6
* Mon Mar 26 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.13-1
9201c6
- An emergency / preliminary refresh, mainly for compatibility
9201c6
  with 2.6.21-pre kernels.
9201c6
9201c6
* Mon Jan  1 2007 Frank Ch. Eigler <fche@redhat.com> - 0.5.12-1
9201c6
- Many changes, see NEWS file.
9201c6
9201c6
* Tue Sep 26 2006 David Smith <dsmith@redhat.com> - 0.5.10-1
9201c6
- Added 'systemtap-runtime' subpackage.
9201c6
9201c6
* Wed Jul 19 2006 Roland McGrath <roland@redhat.com> - 0.5.9-1
9201c6
- PRs 2669, 2913
9201c6
9201c6
* Fri Jun 16 2006 Roland McGrath <roland@redhat.com> - 0.5.8-1
9201c6
- PRs 2627, 2520, 2228, 2645
9201c6
9201c6
* Fri May  5 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.7-1
9201c6
- PRs 2511 2453 2307 1813 1944 2497 2538 2476 2568 1341 2058 2220 2437
9201c6
  1326 2014 2599 2427 2438 2465 1930 2149 2610 2293 2634 2506 2433
9201c6
9201c6
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.5.5-1
9201c6
- Many changes, affected PRs include: 2068, 2293, 1989, 2334,
9201c6
  1304, 2390, 2425, 953.
9201c6
9201c6
* Wed Feb  1 2006 Frank Ch. Eigler <fche@redhat.com> - 0.5.4-1
9201c6
- PRs 1916, 2205, 2142, 2060, 1379
9201c6
9201c6
* Mon Jan 16 2006 Roland McGrath <roland@redhat.com> - 0.5.3-1
9201c6
- Many changes, affected PRs include: 2056, 1144, 1379, 2057,
9201c6
  2060, 1972, 2140, 2148
9201c6
9201c6
* Mon Dec 19 2005 Roland McGrath <roland@redhat.com> - 0.5.2-1
9201c6
- Fixed build with gcc 4.1, various tapset changes.
9201c6
9201c6
* Wed Dec  7 2005 Roland McGrath <roland@redhat.com> - 0.5.1-1
9201c6
- elfutils update, build changes
9201c6
9201c6
* Fri Dec 02 2005  Frank Ch. Eigler  <fche@redhat.com> - 0.5-1
9201c6
- Many fixes and improvements: 1425, 1536, 1505, 1380, 1329, 1828, 1271,
9201c6
  1339, 1340, 1345, 1837, 1917, 1903, 1336, 1868, 1594, 1564, 1276, 1295
9201c6
9201c6
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.4.2-1
9201c6
- Many fixes and improvements: PRs 1344, 1260, 1330, 1295, 1311, 1368,
9201c6
  1182, 1131, 1332, 1366, 1456, 1271, 1338, 1482, 1477, 1194.
9201c6
9201c6
* Wed Sep 14 2005 Roland McGrath <roland@redhat.com> - 0.4.1-1
9201c6
- Many fixes and improvements since 0.2.2; relevant PRs include:
9201c6
  1122, 1134, 1155, 1172, 1174, 1175, 1180, 1186, 1187, 1191, 1193, 1195,
9201c6
  1197, 1205, 1206, 1209, 1213, 1244, 1257, 1258, 1260, 1265, 1268, 1270,
9201c6
  1289, 1292, 1306, 1335, 1257
9201c6
9201c6
* Wed Sep  7 2005 Frank Ch. Eigler <fche@redhat.com>
9201c6
- Bump version.
9201c6
9201c6
* Tue Aug 16 2005 Frank Ch. Eigler <fche@redhat.com>
9201c6
- Bump version.
9201c6
9201c6
* Wed Aug  3 2005 Martin Hunt <hunt@redhat.com> - 0.2.2-1
9201c6
- Add directory /var/cache/systemtap
9201c6
- Add stp_check to /usr/libexec/systemtap
9201c6
9201c6
* Wed Aug  3 2005 Roland McGrath <roland@redhat.com> - 0.2.1-1
9201c6
- New version 0.2.1, various fixes.
9201c6
9201c6
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.2-1
9201c6
- New version 0.2, requires elfutils 0.111
9201c6
9201c6
* Mon Jul 25 2005 Roland McGrath <roland@redhat.com>
9201c6
- Clean up spec file, build bundled elfutils.
9201c6
9201c6
* Thu Jul 21 2005 Martin Hunt <hunt@redhat.com>
9201c6
- Set Version to use version from autoconf.
9201c6
- Fix up some of the path names.
9201c6
- Add Requires and BuildRequires.
9201c6
9201c6
* Tue Jul 19 2005 Will Cohen <wcohen@redhat.com>
9201c6
- Initial creation of RPM.