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:
commit
5201474949
@ -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
|
Fri Dec 29 18:52:22 UTC 2017 - sor.alexei@meowr.ru
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lttng-ust
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source2: %{name}.keyring
|
||||||
# PATCH-FIX-OPENSUSE lttng-ust-copying.patch
|
# PATCH-FIX-OPENSUSE lttng-ust-copying.patch
|
||||||
Patch0: lttng-ust-copying.patch
|
Patch0: lttng-ust-copying.patch
|
||||||
BuildRequires: asciidoc
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: liburcu-devel
|
BuildRequires: liburcu-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python
|
|
||||||
BuildRequires: texinfo
|
|
||||||
BuildRequires: xmlto
|
|
||||||
BuildRequires: pkgconfig(uuid)
|
BuildRequires: pkgconfig(uuid)
|
||||||
ExclusiveArch: %ix86 x86_64 aarch64 ppc64 ppc64le
|
ExclusiveArch: %{ix86} x86_64 aarch64 ppc64 ppc64le
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This library may be used by user space applications to generate
|
This library may be used by user space applications to generate
|
||||||
@ -90,12 +86,16 @@ applications using LTTng userspace tracing.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
# Fix env shebang
|
||||||
|
sed -i -e "1s|^#!.*$|#!%{_bindir}/python3|" tools/lttng-gen-tp
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
--disable-silent-rules \
|
||||||
--docdir=%{_docdir}/%{name} \
|
--docdir=%{_docdir}/%{name} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-maintainer-mode
|
--disable-maintainer-mode
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -103,11 +103,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
rm -rf %{buildroot}/tmp/lttng-ust-divert
|
rm -rf %{buildroot}/tmp/lttng-ust-divert
|
||||||
|
|
||||||
%post -n liblttng-ust%{sover} -p /sbin/ldconfig
|
%post -n liblttng-ust%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -nliblttng-ust%{sover} -p /sbin/ldconfig
|
%postun -nliblttng-ust%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n liblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
|
%post -n liblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -nliblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
|
%postun -nliblttng-ust-ctl%{sover_ctl} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n liblttng-ust%{sover}
|
%files -n liblttng-ust%{sover}
|
||||||
|
Loading…
Reference in New Issue
Block a user