Accepting request 567670 from devel:tools:lttng

OBS-URL: https://build.opensuse.org/request/show/567670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lttng-ust?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-01-21 14:47:54 +00:00 committed by Git OBS Bridge
commit 5201474949
2 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jan 19 11:50:18 UTC 2018 - tchvatal@suse.com
- Format with spec-cleaner
- Drop tex/asciidoc/xmlto dependencies as the manpages are already
generated in the tarball so we produce the same result and this
way we are not pulling in python2
-------------------------------------------------------------------
Fri Dec 29 18:52:22 UTC 2017 - sor.alexei@meowr.ru

View File

@ -1,7 +1,7 @@
#
# spec file for package lttng-ust
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@ -30,15 +30,11 @@ Source1: https://lttng.org/files/lttng-ust/lttng-ust-%{version}.tar.bz2.a
Source2: %{name}.keyring
# PATCH-FIX-OPENSUSE lttng-ust-copying.patch
Patch0: lttng-ust-copying.patch
BuildRequires: asciidoc
BuildRequires: gcc-c++
BuildRequires: liburcu-devel
BuildRequires: pkgconfig
BuildRequires: python
BuildRequires: texinfo
BuildRequires: xmlto
BuildRequires: pkgconfig(uuid)
ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le
ExclusiveArch: %{ix86} x86_64 aarch64 ppc64 ppc64le
%description
This library may be used by user space applications to generate
@ -90,12 +86,16 @@ applications using LTTng userspace tracing.
%setup -q
%patch0 -p1
# Fix env shebang
sed -i -e "1s|^#!.*$|#!%{_bindir}/python3|" tools/lttng-gen-tp
%build
%configure \
--disable-silent-rules \
--docdir=%{_docdir}/%{name} \
--disable-static \
--disable-maintainer-mode
make %{?_smp_mflags} V=1
make %{?_smp_mflags}
%install
%make_install
@ -103,11 +103,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}/tmp/lttng-ust-divert
%post -n liblttng-ust%{sover} -p /sbin/ldconfig
%postun -nliblttng-ust%{sover} -p /sbin/ldconfig
%post -n liblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
%postun -nliblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
%files -n liblttng-ust%{sover}