Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package systemtap.16291 for 
openSUSE:Leap:15.2:Update checked in at 2021-05-22 10:06:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/systemtap.16291 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemtap.16291"

Sat May 22 10:06:11 2021 rev:1 rq:893764 version:4.2

Changes:
--------
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap-docs.changes
        2021-05-22 10:06:12.310964074 +0200
@@ -0,0 +1,537 @@
+-------------------------------------------------------------------
+Fri Dec  6 17:33:04 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.2. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Wed Nov  6 18:09:13 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.1. See systemtap.spec for changelog
+- Remove systemtap-exporter files (built due to BuildRequires: python3-devel)
+
+-------------------------------------------------------------------
+Fri Feb  2 23:31:59 UTC 2018 - to...@suse.com
+
+- Fix python3 build failures
+
+-------------------------------------------------------------------
+Mon Nov 20 23:06:17 UTC 2017 - to...@suse.com
+
+- Upgrade to version 3.2. See systemtap.spec for changelog
+  Drop patch: systemtap-doc-back-down-gettext-version.diff
+
+-------------------------------------------------------------------
+Tue Mar 28 20:04:44 UTC 2017 - je...@suse.com
+
+- Update to version 3.1. See systemtap.spec for changelog
+  Added patch: systemtap-doc-back-down-gettext-version.diff
+
+-------------------------------------------------------------------
+Fri Apr  1 17:29:31 UTC 2016 - to...@suse.com
+
+- Update to version 3.0. See systemtap.spec for changelog
+  Drop patch: systemtap-xmlto-fop.diff
+
+-------------------------------------------------------------------
+Tue Nov 10 00:40:17 UTC 2015 - to...@suse.com
+
+- Update to version 2.9. See systemtap.spec for changelog 
+
+-------------------------------------------------------------------
+Fri Sep 11 18:00:49 UTC 2015 - to...@suse.com
+
+- Update to version 2.8. See systemtap.spec for changelog 
+  Update patch 'systemtap-docdir-fix.diff' (package beginners guide)
+
+-------------------------------------------------------------------
+Fri Mar 27 14:11:25 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 2.7. See systemtap.spec for changelog
+- Update systemtap-docdir-fix.diff 
+
+-------------------------------------------------------------------
+Tue Feb 17 20:51:58 UTC 2015 - mplus...@suse.com
+
+- Add gpg signature and keyring
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Tue Sep  9 06:06:42 UTC 2014 - to...@suse.com
+
+- Update to version 2.6. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Fri May  2 19:50:28 UTC 2014 - to...@suse.com
+
+- Update to version 2.5. See systemtap.spec for changelog
+- Drop patch: langref.tex-add-option-to-babel-setup.patch (upstream)
+- Patch systemtap-docs-autoconf-version.diff was still present
+  despite being "dropped" in 2.4,  really delete it
+
+-------------------------------------------------------------------
+Thu Dec 19 22:05:14 UTC 2013 - to...@suse.com
+
+- Fix build errors due to changes in LaTeX packaging
+- Add patch 'langref.tex-add-option-to-babel-setup.patch'
+
+-------------------------------------------------------------------
+Fri Nov 15 18:51:03 UTC 2013 - to...@suse.com
+
+- Update to version 2.4. See systemtap.spec for changelog
+- Drop patch systemtap-docs-autoconf-version.diff
+
+-------------------------------------------------------------------
+Wed Aug  7 17:44:37 UTC 2013 - to...@suse.com
+
+- Update to version 2.3. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Wed May 22 17:47:56 UTC 2013 - to...@suse.com
+
+- Update to version 2.2.1. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Sat Jan 12 05:10:48 UTC 2013 - to...@suse.com
+
+- Update to version 2.0. See systemtap.spec for changelog 
+
+-------------------------------------------------------------------
+Fri Jul 27 10:29:23 UTC 2012 - a...@suse.de
+
+- Fix build with glibc 2.16
+
+-------------------------------------------------------------------
+Mon Jun 18 09:47:49 CEST 2012 - jsl...@suse.de
+
+- Upgrade to version 1.8
+
+-------------------------------------------------------------------
+Thu Jun 14 20:11:49 UTC 2012 - dims...@opensuse.org
+
+- Add systemtap-automake112.patch: Fix build with automake 1.12:
+  + Support for automatic de-ANSI-fication has been removed.
+  + Patch taken from upstream, git commit id 5b2bc70.
+
+-------------------------------------------------------------------
+Sat Feb 18 01:36:46 UTC 2012 - to...@suse.com
+
+- Update to version 1.7.  See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Sun Jan 29 06:34:11 UTC 2012 - co...@suse.com
+
+- add automake too
+
+-------------------------------------------------------------------
+Wed Dec 21 10:44:28 UTC 2011 - co...@suse.com
+
+- add autoconf as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------
+Wed Nov  2 10:54:46 CET 2011 - jsl...@suse.de
+
+- update to 1.6
+
+-------------------------------------------------------------------
+Tue Jun  7 08:11:15 UTC 2011 - co...@novell.com
+
+- fix file dependencies of examples and testsuite
+
+-------------------------------------------------------------------
+Tue May 17 11:28:27 CEST 2011 - jsl...@suse.de
+
+- fix gcc 4.6 build
+
+-------------------------------------------------------------------
+Fri Jan 21 18:45:18 UTC 2011 - to...@novell.com
+
+- Update to version 1.4. See systemtap.changes for full changelog.
+
+-------------------------------------------------------------------
+Thu Aug 26 02:15:11 UTC 2010 - to...@novell.com
+
+- Update to version 1.3
+
+-------------------------------------------------------------------
+Thu Mar 11 22:49:52 UTC 2010 - to...@novell.com
+
+- Update to version 1.1. See systemtap.changes for full changelog.
+
+-------------------------------------------------------------------
+Wed Dec  2 23:52:10 UTC 2009 - to...@novell.com
+
+- Minor changes to spec file 
+
+-------------------------------------------------------------------
+Fri Oct  2 18:57:14 CEST 2009 - to...@suse.de
+
+- updated to version 1.0.  See systemtap.changes for full changelog.
+
+-------------------------------------------------------------------
+Tue Jul 21 08:47:33 CEST 2009 - ti...@suse.de
+
+- corrected to use libexecdir
+- fix summary and description
+
+-------------------------------------------------------------------
+Thu Jun 18 12:46:08 CEST 2009 - ti...@suse.de
+
+- change to noarch
+
+-------------------------------------------------------------------
+Tue Jun 16 16:26:52 CEST 2009 - ti...@suse.de
+
+- updated to version 0.9.8:
+  * Module signing support
+  * Debuginfo suggestions when a script fails
+  * Using %M in print formats for hex dumps can now print entire
+    buffers
+  * Dwarfless syscalls: The nd_syscalls tapset is now available to
+    probe system calls without requiring kernel debug info.
+  * sid() returns the session ID of the current process
+  * stringat() indexes a single character from a string.
+  * New script examples
+
+-------------------------------------------------------------------
+Fri May 22 09:38:19 CEST 2009 - ti...@suse.de
+
++++ 340 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap-docs.changes
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap-dtrace.changes
      2021-05-22 10:06:12.330963984 +0200
@@ -0,0 +1,15 @@
+-------------------------------------------------------------------
+Fri Dec  6 17:32:23 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.2. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Wed Nov  6 18:09:13 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.1. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Thu Sep 26 18:39:41 UTC 2019 - Michael Gorse <mgo...@suse.com>
+
+- Moved the dtrace binary into a separate package to resolve build
+  cycle with glib2 (bsc#1145438). 
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap-headers.changes
     2021-05-22 10:06:12.350963895 +0200
@@ -0,0 +1,22 @@
+-------------------------------------------------------------------
+Fri Dec  6 17:32:56 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.2. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Wed Nov  6 18:09:13 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Upgrade to version 4.1. See systemtap.spec for changelog
+
+-------------------------------------------------------------------
+Fri Feb 16 15:20:50 UTC 2018 - m...@suse.com
+
+- Add Conflicts with systemtap-sdt-devel, as that one again
+  provides the headers as well.
+
+-------------------------------------------------------------------
+Thu Feb  8 15:26:17 UTC 2018 - m...@suse.com
+
+- Created new specfile systemtap-headers.spec, so bootstrap cycles
+  packages can use them without blowing up the cycle.
+  [fate#324969]
New Changes file:

--- /dev/null   2021-04-29 10:03:23.520854754 +0200
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap.changes 
    2021-05-22 10:06:12.382963751 +0200
@@ -0,0 +1,751 @@
+-------------------------------------------------------------------
+Wed Apr 28 16:46:32 UTC 2021 - Tony Jones <to...@suse.com>
+
+- Adjust stap-server.conf to refer to /run not /var/run (bsc#1185068) 
+
+-------------------------------------------------------------------
+Mon Aug 24 12:13:19 UTC 2020 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Use %{_tmpfilesdir} instead of wrong %{_libexecdir}/tmpfiles.d
+
+-------------------------------------------------------------------
+Fri Dec  6 17:29:35 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Update to version 4.2
+  Release notes: https://sourceware.org/ml/systemtap/2019-q4/msg00044.html
+
+  Delete patch: systemtap-support-wimplicit-fallthrough-vsprintf.patch
+  Delete patch: systemtap-support-wimplicit-fallthrough-gen_map.patch
+
+-------------------------------------------------------------------
+Thu Nov  7 18:18:07 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Add support for gcc -Wimplicit-fallthrough to resolve compilation errors
+    of the form "this statement may fall through" 
+  New patch: systemtap-support-wimplicit-fallthrough-vsprintf.patch
+  New patch: systemtap-support-wimplicit-fallthrough-gen_map.patch
+
+-------------------------------------------------------------------
+Wed Nov  6 18:09:13 UTC 2019 - Tony Jones <to...@suse.com>
+
+- Update to version 4.1 (jsc#SLE-9336)
+  Do not package systemtap-exporter.
+  4.1 release notes: https://sourceware.org/ml/systemtap/2019-q2/msg00043.html
+  4.0 release notes: https://sourceware.org/ml/systemtap/2018-q4/msg00018.html
+
+  Delete patch: systemtap-change-extra_cflags-escape-processing.patch
+
+- Force autoreconf of configure to match systemtap-docs (tarball configure 
+  is stale).
+
+-------------------------------------------------------------------
+Mon Oct 14 07:32:43 UTC 2019 - Martin Pluskal <mplus...@suse.com>
+
+- Do not require exact version of systemtap-dtrace as build
+  counters are not same for different packages
+
+-------------------------------------------------------------------
+Thu Sep 26 18:41:20 UTC 2019 - Michael Gorse <mgo...@suse.com>
+
+- Moved the dtrace binary into a separate package to resolve build
+  cycle with glib2 (bsc#1145438).
+
+-------------------------------------------------------------------
+Tue Apr 16 10:01:59 UTC 2019 - j...@suse.com
+
+- Add BuildRequire libavahi-devel, otherwise that the systemstap-server
+  and systemstap client do not work. (bsc#1132538) 
+
+-------------------------------------------------------------------
+Mon Mar 11 10:13:08 UTC 2019 - lnus...@suse.de
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow to use
+  systemd-mini during build (bsc#1125231)
+- Use %tmpfiles_create macro in -server package: consider the right
+  usage in transactional update cases.
+
+-------------------------------------------------------------------
+Fri Jan  4 18:38:37 UTC 2019 - mgo...@suse.com
+
+- Remove glib2-devel from BuildRequires: it appears not to be used
+  and causes a build loop if glib2 is built with SDT markers
+  (bsc#1090047).
+
+-------------------------------------------------------------------
+Fri Feb 16 15:28:22 UTC 2018 - m...@suse.com
+
+- Care for pecularities of build counter syncs between different
+  build rings: the Requires from sdt-devel can't use %release
+  for systemtap-headers, but we also don't want to just include
+  %version, so separate both totally:
+  * Add the include headers to sdt-devel again.
+  * Add Conflicts with systemtap-headers to care for the resulting
+    file conflicts.
+  * Remove Require from sdt-devel to systemtap-headers again.
+
+-------------------------------------------------------------------
+Thu Feb  8 15:28:32 UTC 2018 - m...@suse.com
+
+- Don't include the headers files in sdt-devel
+- Add systemtap-headers to Requires of sdt-devel, so that it
+  provides the same files as before.  [fate#324969]
+
+-------------------------------------------------------------------
+Mon Nov 20 23:01:35 UTC 2017 - to...@suse.com
+
+- Upgrade to version 3.2
+  Changelog: https://sourceware.org/ml/systemtap/2017-q4/msg00096.html
+  Drop patch: systemtap-tweak-i386-argument-passing.patch (upstream)
+  Update keyring.
+
+- Fix issue with Kbuild handling of escaped paths (bsc#1067437)
+  Add patch: systemtap-change-extra_cflags-escape-processing.patch 
+
+-------------------------------------------------------------------
+Fri Nov 10 12:48:28 UTC 2017 - mplus...@suse.com
+
+- Use pytho3 by default (fate#323526)
+  * Do not explicitly require python by subpackage, dependency gets
+    generated automatically
+
+-------------------------------------------------------------------
+Thu Mar 30 19:42:04 UTC 2017 - to...@suse.com
+
+- Tweak i386 argument-passing (bsc#1030285)
+  New patch: systemtap-tweak-i386-argument-passing.patch
+
+-------------------------------------------------------------------
+Tue Mar 28 19:32:02 UTC 2017 - je...@suse.com
+
+- Update to version 3.1
+  Update keyring with new key
+  Changelog:
+  https://sourceware.org/ml/systemtap/2017-q1/msg00106.html
+
+-------------------------------------------------------------------
+Fri Apr  1 19:28:53 CEST 2016 - to...@suse.de
+
+- Update to version 3.0 
+  Update keyring with new key
+  Update info in README-KEYRING
+  Changelog:
+  https://sourceware.org/ml/systemtap/2016-q1/msg00179.html
+
+-------------------------------------------------------------------
+Tue Nov 10 00:32:54 UTC 2015 - to...@suse.com
+
+- Update to version 2.9.
+  Update keyring with new key
+  Changelog:
+  https://sourceware.org/ml/systemtap/2015-q4/msg00025.html
+
+-------------------------------------------------------------------
+Fri Sep 11 17:59:49 UTC 2015 - to...@suse.com
+
+- Update to version 2.8. 
+  Update keyring with new key
+  New file: README-KEYRING documenting how to update keyring
+  Changelog:
+  https://sourceware.org/ml/systemtap/2015-q2/msg00160.html  
+
+-------------------------------------------------------------------
+Fri Mar 27 17:03:48 UTC 2015 - mplus...@suse.com
+
+- Update keyring with new key
+
+-------------------------------------------------------------------
+Fri Mar 27 14:12:15 UTC 2015 - p.drou...@gmail.com
+
+- Update to version 2.7
+  Changelog:
+  https://sourceware.org/ml/systemtap/2015-q1/msg00173.html
+- Update systemtap-docdir-fix.diff 
+
+-------------------------------------------------------------------
+Tue Feb 17 20:49:14 UTC 2015 - mplus...@suse.com
+
+- Add keyring and signature
+- Cleanup spec file with spec-cleaner
+
+-------------------------------------------------------------------
+Tue Sep  9 06:05:47 UTC 2014 - to...@suse.com
+
+- Update to version 2.6
+  Changelog:
+    2.6: https://sourceware.org/ml/systemtap/2014-q3/msg00231.html 
+
+-------------------------------------------------------------------
+Sat May 17 19:34:40 UTC 2014 - co...@suse.com
+
+- use %_rundir if available
+
+-------------------------------------------------------------------
+Fri May  2 19:48:19 UTC 2014 - to...@suse.com
+
+- Update to version 2.5
+  Changelog: 
+    2.5: https://sourceware.org/ml/systemtap/2014-q2/msg00103.html
+
+-------------------------------------------------------------------
+Fri Nov 15 18:51:03 UTC 2013 - to...@suse.com
+
+- Update to version 2.4
+  Changelog:
+    2.4: http://sourceware.org/ml/systemtap/2013-q4/msg00165.html 
+
+-------------------------------------------------------------------
+Wed Aug  7 17:40:24 UTC 2013 - to...@suse.com
++++ 554 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.systemtap.16291.new.2988/systemtap.changes

New:
----
  README-BEFORE-ADDING-PATCHES
  README-KEYRING
  stap-server.conf
  systemtap-4.2.tar.gz
  systemtap-4.2.tar.gz.asc
  systemtap-build-source-dir.patch
  systemtap-docdir-fix.diff
  systemtap-docs.changes
  systemtap-docs.spec
  systemtap-dtrace.changes
  systemtap-dtrace.spec
  systemtap-headers.changes
  systemtap-headers.spec
  systemtap.changes
  systemtap.keyring
  systemtap.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ systemtap-docs.spec ++++++
#
# spec file for package systemtap-docs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           systemtap-docs
Version:        4.2
Release:        0
Summary:        Documents and examples for systemtap
License:        GPL-2.0+
Group:          Development/Tools/Debuggers
Url:            http://sourceware.org/systemtap/
Source0:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2:        systemtap.keyring
Source3:        README-BEFORE-ADDING-PATCHES
Source4:        README-KEYRING
Patch1:         systemtap-docdir-fix.diff
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
# for documents
BuildRequires:  fop
BuildRequires:  gcc-c++
BuildRequires:  latex2html
BuildRequires:  libebl-devel
BuildRequires:  pkg-config
BuildRequires:  texlive-amsfonts
BuildRequires:  texlive-babel-english
BuildRequires:  texlive-collection-fontsrecommended
BuildRequires:  texlive-metafont-bin
BuildRequires:  xmlto
BuildRequires:  tex(charter.sty)
BuildRequires:  tex(fancybox.sty)
BuildRequires:  tex(fancyhdr.sty)
BuildRequires:  tex(fancyvrb.sty)
BuildRequires:  tex(float.sty)
BuildRequires:  tex(fullpage.sty)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
SystemTap is an instrumentation system for systems running Linux.
This package contains the documents and examples for systemtap.

%prep
%setup -q -n systemtap-%{version}
%patch1 -p1

%build
# fix interpreter
find testsuite examples -name "*.stp" | xargs -n1 sed -i -e 's, /bin/env, 
%{_bindir}/env,'
find testsuite examples -type f | xargs chmod 644
autoreconf -fi
%configure --docdir=%{_docdir}/systemtap --disable-nls --with-python3 
make %{?_smp_mflags}

%install
make DESTDIR=%{buildroot} install %{?_smp_mflags} doc
# COPYING packaged by main spec
cp README AUTHORS NEWS %{buildroot}%{_docdir}/systemtap/
# remove binaries and runtime stuff
rm -rf %{buildroot}%{_bindir}
rm -rf %{buildroot}%{_sbindir}
rm -rf %{buildroot}%{_libdir}
rm -rf %{buildroot}%{_libexecdir}
rm -rf %{buildroot}%{_datadir}/systemtap
rm -rf %{buildroot}%{_includedir}
rm -rf %{buildroot}%{_sysconfdir}
rm -rf %{buildroot}%{_unitdir}
# these man pages are in each sub package
rm -rf %{buildroot}%{_mandir}/man[178]
rm -rf %{buildroot}%{_mandir}/cs/man[178]

%files
%defattr(-,root,root)
%doc %{_docdir}/systemtap
%{_mandir}/man3/*
%{_mandir}/cs/man3/*

%changelog
++++++ systemtap-dtrace.spec ++++++
#
# spec file for package systemtap-dtrace
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name:           systemtap-dtrace
Version:        4.2
Release:        0
Summary:        SystemTap dtrace utility
License:        GPL-2.0+
Group:          Development/Tools/Debuggers
Url:            http://sourceware.org/systemtap/
Source0:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2:        systemtap.keyring
Source3:        README-BEFORE-ADDING-PATCHES
Source4:        README-KEYRING
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
SystemTap is an instrumentation system for systems running Linux.
This package contains the dtrace utility to build provider and probe
definitions.

%prep
%setup -q -n systemtap-%{version}

%build
# Our binutils always support '?' in the section characters on all
# architectures, no need for configure tests
sed s=@preferred_python@=%{_bindir}/python3= dtrace.in |sed 
s=@prefix@=%{_prefix}= >dtrace

%install
mkdir -p %{buildroot}%{_bindir}
install -m 755 dtrace %{buildroot}%{_bindir}

%files
%defattr(-,root,root)
%{_bindir}/dtrace

%changelog
++++++ systemtap-headers.spec ++++++
#
# spec file for package systemtap-headers
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# Note: this separate package systemtap-headers exists so that ring0
# packages can make use of the SDT headers without pulling in all
# build requirements of the normal systemtap package.  Normal use
# outside of BuildRequires in ring0 packages should use systemtap-sdt-devel

%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name:           systemtap-headers
Version:        4.2
Release:        0
Summary:        SystemTap headers
License:        GPL-2.0+
Group:          Development/Tools/Debuggers
Url:            http://sourceware.org/systemtap/
# sdt-devel provides the same header files as us, so we
# must conflict
Conflicts:      systemtap-sdt-devel
Source0:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2:        systemtap.keyring
Source3:        README-BEFORE-ADDING-PATCHES
Source4:        README-KEYRING
Source5:        stap-server.conf
Patch1:         systemtap-build-source-dir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SystemTap is an instrumentation system for systems running Linux.
This package contains only the headers for static system probes and
exists only to limit build cycles.  Normally you should install
systemtap-sdt-devel, which also contains these headers.

%prep
%setup -q -n systemtap-%{version}
%patch1 -p1

%build
# Our binutils always support '?' in the section characters on all
# architectures, no need for configure tests
sed -e 's/@support_section_question@/1/' < includes/sys/sdt-config.h.in > 
includes/sys/sdt-config.h

%install
mkdir -p %{buildroot}%{_includedir}/sys
cp -rp includes/sys/*.h %{buildroot}%{_includedir}/sys/

%files
%defattr(-,root,root)
%{_includedir}/sys/*.h

%changelog
++++++ systemtap.spec ++++++
#
# spec file for package systemtap
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%if ! %{defined _rundir}
%define _rundir %{_localstatedir}/run
%endif
Name:           systemtap
Version:        4.2
Release:        0
Summary:        Instrumentation System
License:        GPL-2.0+
Group:          Development/Tools/Debuggers
Url:            http://sourceware.org/systemtap/
Source0:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
Source1:        
http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz.asc
Source2:        %{name}.keyring
Source3:        README-BEFORE-ADDING-PATCHES
Source4:        README-KEYRING
Source5:        stap-server.conf
Patch1:         systemtap-build-source-dir.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libavahi-devel
BuildRequires:  libcap-devel
BuildRequires:  libebl-devel
BuildRequires:  mozilla-nspr-devel
BuildRequires:  mozilla-nss-devel
BuildRequires:  mozilla-nss-tools
BuildRequires:  pkg-config
BuildRequires:  python3-base
BuildRequires:  sqlite-devel
BuildRequires:  pkgconfig(systemd)
Requires:       %{name}-dtrace = %{version}
Requires:       %{name}-runtime = %{version}-%{release}
Requires:       libebl1
Obsoletes:      systemtap-client < 1.5
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SystemTap is an instrumentation system for systems running Linux.
Developers can write instrumentation to collect data on the operation
of the system.

%package runtime
Summary:        Runtime environment for systemtap
Group:          Development/Tools/Debuggers

%description runtime
SystemTap is an instrumentation system for systems running Linux.
This package contains the runtime environment for systemtap programs.

%package server
Summary:        Systemtap server
Group:          Development/Tools/Debuggers
Requires:       %{name} = %{version}-%{release}
# dependancies for systemtap shell scripts
Requires:       avahi
Requires:       avahi-utils
Requires:       coreutils
Requires:       mozilla-nss-tools
Requires:       unzip
Requires:       zip
# needed for systemd-tmpfiles
Requires(post): systemd

%description server
SystemTap is an instrumentation system for systems running Linux.
This package contains the server component of systemtap.

%package sdt-devel
Summary:        Static probe support tools
Group:          Development/Tools/Debuggers
# systemtap-headers provides the same header files
# as sdt-devel, so we must conflict.
Conflicts:      systemtap-headers
Requires:       %{name} = %{version}-%{release}

%description sdt-devel
SystemTap is an instrumentation system for systems running Linux.
This package contains the support tools for static probes.

%prep
%setup -q
%patch1 -p1

%build
autoreconf -fi
%configure \
  --disable-docs \
  --with-python3 \
  --docdir=%{_docdir}/systemtap
make %{?_smp_mflags} V=1

%install
%make_install
rm -f %{buildroot}%{_bindir}/dtrace
rm -f %{buildroot}%{_libexecdir}/systemtap/stap-server-request
# README, AUTHORS, NEWS, man3 and all examples packaged by systemtap-docs
# COPYING needs to stay in main for GPL
rm -rf %{buildroot}%{_docdir}/systemtap/
rm -rf %{buildroot}%{_datadir}/systemtap/examples
rm -rf %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/cs/man3
mkdir -p %{buildroot}%{_docdir}/systemtap/
cp COPYING %{buildroot}%{_docdir}/systemtap/
mkdir -p %{buildroot}%{_localstatedir}/cache/systemtap
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/stap-server.log
# config file for stap-server (/var/run now on tmpfs)
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}

%find_lang systemtap

%post server
# Create tmpfiles
%tmpfiles_create %{_tmpfilesdir}/stap-server.conf

%files
%defattr(-,root,root)
%{_bindir}/stap
%{_mandir}/man[17]/*
%{_mandir}/cs/man[17]/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/runtime
%{_datadir}/%{name}/tapset
#packaged by systemtap-initscript in upstream
%dir %{_localstatedir}/cache/systemtap

%files runtime -f systemtap.lang
%defattr(-,root,root)
%doc %{_docdir}/systemtap
%{_bindir}/staprun
%{_bindir}/stapsh
%{_bindir}/stap-merge
%{_bindir}/stap-report
%{_bindir}/stapbpf
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/stapio
%{_libexecdir}/%{name}/stap-env
%{_libexecdir}/%{name}/stap-authorize-cert
%{_mandir}/man8/staprun.8*
%{_mandir}/man8/systemtap-service.8*
%{_mandir}/cs/man8/systemtap.8*
%{_mandir}/man8/stapsh.8*
%{_mandir}/cs/man8/stapsh.8*
%{_mandir}/man8/stapbpf.8*

%files server
%defattr(-,root,root)
%dir %{_tmpfilesdir}
%{_tmpfilesdir}/stap-server.conf
%{_bindir}/stap-server
%{_libexecdir}/%{name}/stap-gen-cert
%{_libexecdir}/%{name}/stap-serverd
%{_libexecdir}/%{name}/stap-sign-module
%{_libexecdir}/%{name}/stap-start-server
%{_libexecdir}/%{name}/stap-stop-server
%{_mandir}/man8/stap-server.8*
%{_mandir}/cs/man8/stap-server.8*
%ghost %{_localstatedir}/log/stap-server.log
%ghost %dir %{_rundir}/stap-server

%files sdt-devel
%defattr(-,root,root)
%{_includedir}/sys/*.h

%changelog
++++++ README-BEFORE-ADDING-PATCHES ++++++
All patches need to have a patch description header similar to what is used in 
SuSE kernel git tree. Patches added without this will be reverted.  Thanks.

From: Name <email>
Subject: Summary of fix
Date: date
References: bnc#xxxxxx (bugzilla reference if applicable)
Upstream: yes (provide repo/commit-id in description) or no (provide reason)
Signed-Off-by: Name <email> (same as From: if committer is patch author)

Short paragraph describing problem/fix.

References to upstream repo-path/commit-id if applicable.
++++++ README-KEYRING ++++++
How to update the systemtap keyring
===================================
1. update systemtap version in specfile to new version
2. run 'osc service localrun download_files' to download the new tarball and 
signatrure files (the signature file may be .sig or .asc, it varies depending 
on who
made the release)
3. run 'gpg systemtap-${ver}.tar.gz.{sig,asc}' -- look for "gpg: Signature made 
{date} using RSA key ID {key}" in output
4. run 'gpg --keyserver pgp.mit.edu --recv-key $key' to obtain the key from the 
public keyserver
5. run 'gpg --export --armor --output systemtap.keyring $key'.   Select 'y' to
   overwrite existing file (previous is backed up in .osc)

How to verify against the keyring
=================================
1. run 'gpg --keyring systemtap.keyring systemtap-${ver}.tar.gz.sig'
++++++ stap-server.conf ++++++
# Systemtap-server needs some files in /var/run
d /run/stap-server 0755 root root -
++++++ systemtap-build-source-dir.patch ++++++
From: Tony Jones <to...@suse.de>
Subject: adjust build source dir for SuSE packaging
References: bnc#796574

kernel-$flavor:
    /lib/modules/$version-$flavor

kernel-$flavor-devel: requires kernel-source
   /usr/src/linux-$version-obj/$arch/$flavor
   /lib/modules/$version-$flavor/build -> 
/usr/src/linux-$version-obj/$arch/$flavor
   /lib/modules/$version-$flavor/source -> /usr/src/linux-$version 
[kernel-source]

kernel-flavor-debugsource:
   /usr/src/debug/kernel-$flavor/
      linux-obj/ {corresponds to /lib/modules/$version-$flavor/build}
      linux-3.0/ {mirrors kernel-source}

DW_AT_comp_dir points to debugsource/linux-obj directory but internal trace
headers are only found in linux-3.0.  Regardless, we don't want to require
debugsource as devel already requires kernel-source which provides the 
necessary headers.

---
 session.cxx |   28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

--- a/session.cxx
+++ b/session.cxx
@@ -108,6 +108,7 @@ systemtap_session::systemtap_session ():
   kernel_release = string (buf.release);
   release = kernel_release;
   kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+  kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
   architecture = machine = normalize_machine(buf.machine);
 
   for (unsigned i=0; i<5; i++) perpass_verbose[i]=0;
@@ -298,6 +299,7 @@ systemtap_session::systemtap_session (co
 {
   release = kernel_release = kern;
   kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+  kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
   kernel_extra_cflags = other.kernel_extra_cflags;
   architecture = machine = normalize_machine(arch);
   setup_kernel_release(kern.c_str());
@@ -2218,21 +2220,39 @@ systemtap_session::setup_kernel_release
       // normal search in tapsets.cxx.  Without CONFIG_DEBUG_INFO, we'd
       // need heuristics such as this one:
 
-      string some_random_source_only_file = kernel_build_tree + "/COPYING";
+      // SUSE: if "build" link specified, attempt to determine "source" link
+      // N.B we won't match using above tapsets.cxx check
+      struct stat buf;
+      string source_tree = kernel_build_tree;
+
+      if (lstat(kernel_build_tree.c_str(), &buf) != -1 && 
S_ISLNK(buf.st_mode)) {
+       size_t pos = source_tree.find_last_of('/');
+       if (pos < source_tree.length() && source_tree.substr(pos+1, 
string::npos) == "build")
+          source_tree.replace(pos+1, string::npos, "source");
+      }
+
+retry:
+      string some_random_source_only_file = source_tree + "/COPYING";
       ifstream epic (some_random_source_only_file.c_str());
       if (! epic.fail())
         {
-          kernel_source_tree = kernel_build_tree;
+          kernel_source_tree = source_tree;
           if (verbose > 2)
             clog << _F("Located kernel source tree (COPYING) at '%s'", 
kernel_source_tree.c_str()) << endl;
-        }
+        } else if (source_tree != kernel_build_tree) {
+               // one last try using kernel_build_tree (local fs build)
+               source_tree = kernel_build_tree;
+               goto retry;
+       }
     }
   else
     {
       update_release_sysroot = true;
       kernel_release = kstr;
-      if (!kernel_release.empty())
+      if (!kernel_release.empty()) {
         kernel_build_tree = "/lib/modules/" + kernel_release + "/build";
+        kernel_source_tree = "/lib/modules/" + kernel_release + "/source";
+      }
 
       // PR10745
       // Let's not look for the kernel_source_tree; it's definitely
++++++ systemtap-docdir-fix.diff ++++++
From: Tony Jones <to...@suse.de>
Subject: change doc install path
References: none
Upstream: never

SuSE %{_docdir} is /usr/share/doc/packages. Change install locations to match.

---
 Makefile.am                                |    2 +-
 doc/Makefile.am                            |    2 +-
 doc/SystemTap_Tapset_Reference/Makefile.am |    4 ++--
 doc/beginners/Makefile.am                  |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

--- a/Makefile.am
+++ b/Makefile.am
@@ -266,7 +266,7 @@ endif
                | while read f; do if test -x $$f; then \
                        i_cmd="$(INSTALL_PROGRAM)"; else \
                        i_cmd="$(INSTALL_DATA)"; fi; \
-                       $$i_cmd -D $$f $(DESTDIR)$(pkgdatadir)/examples/$$f; 
done)
+                       $$i_cmd -D $$f 
$(DESTDIR)$(datadir)/doc/packages/systemtap/examples/$$f; done)
        test -e $(DESTDIR)$(sysconfdir)/systemtap || mkdir -p 
$(DESTDIR)$(sysconfdir)/systemtap
 if BUILD_SERVER
        test -e $(DESTDIR)$(localstatedir)/run/stap-server || mkdir -p 
$(DESTDIR)$(localstatedir)/run/stap-server
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -3,7 +3,7 @@
 
 AUTOMAKE_OPTIONS = subdir-objects
 PDF_FILES = tutorial.pdf langref.pdf
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
 SUBDIRS = SystemTap_Tapset_Reference beginners
 
 if BUILD_DOCS
--- a/doc/SystemTap_Tapset_Reference/Makefile.am
+++ b/doc/SystemTap_Tapset_Reference/Makefile.am
@@ -1,9 +1,9 @@
 ## process this file with automake to produce Makefile.in
 

-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
 MAN_INSTALL_DIR = $(DESTDIR)$(mandir)/man3
-HTML_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap/tapsets
+HTML_INSTALL_DIR = $(DOC_INSTALL_DIR)/tapsets
 
 if XMLTO_STRINGPARAM
 XMLTOHTMLPARAMS=--stringparam use.id.as.filename=1 -m 
$(abs_srcdir)/generate-toc.xml
--- a/doc/beginners/Makefile.am
+++ b/doc/beginners/Makefile.am
@@ -2,7 +2,7 @@
 ## process this file with automake to produce Makefile.in
 
 
-DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/systemtap
+DOC_INSTALL_DIR = $(DESTDIR)$(datadir)/doc/packages/systemtap
 SBG = SystemTap_Beginners_Guide
 BEGIN_INSTALL_DIR = $(DOC_INSTALL_DIR)/$(SBG)
 

Reply via email to