Hello community, here is the log from the commit of package heaptrack for openSUSE:Factory checked in at 2020-09-01 20:09:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/heaptrack (Old) and /work/SRC/openSUSE:Factory/.heaptrack.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "heaptrack" Tue Sep 1 20:09:12 2020 rev:5 rq:830879 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/heaptrack/heaptrack.changes 2020-01-30 09:42:08.113513687 +0100 +++ /work/SRC/openSUSE:Factory/.heaptrack.new.3399/heaptrack.changes 2020-09-01 20:09:52.764662877 +0200 @@ -1,0 +2,5 @@ +Mon Aug 31 15:38:09 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Fix the plugins installation directory. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ heaptrack.spec ++++++ --- /var/tmp/diff_new_pack.QGR5cD/_old 2020-09-01 20:09:53.392663171 +0200 +++ /var/tmp/diff_new_pack.QGR5cD/_new 2020-09-01 20:09:53.396663173 +0200 @@ -1,7 +1,7 @@ # # spec file for package heaptrack # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,14 +24,17 @@ Summary: Heap Memory Allocation Profiler License: LGPL-2.1-or-later Group: Development/Tools/Other -Url: https://userbase.kde.org/Heaptrack +URL: https://userbase.kde.org/Heaptrack Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM Patch0: Fix-compile-on-32bit.patch BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem +BuildRequires: libboost_iostreams-devel +BuildRequires: libboost_program_options-devel BuildRequires: libdwarf-devel BuildRequires: libunwind-devel +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: cmake(KChart) >= 2.6.0 @@ -47,16 +50,27 @@ BuildRequires: pkgconfig(libzstd) Recommends: %{name}-lang Suggests: heaptrack-gui -%if 0%{?suse_version} >= 1330 -BuildRequires: libboost_iostreams-devel -BuildRequires: libboost_program_options-devel -%else -BuildRequires: boost-devel -%endif %description A memory profiler for Linux, tracking heap allocations. +%package devel +Summary: Development files for the Heaptrack API +Group: Development/Libraries/KDE +Requires: %{name} = %{version} + +%description devel +This package contains files needed to develop for the Heaptrack +API. + +%package gui +Summary: GUI Frontend for Heaptrack +Group: Development/Tools/Other +Requires: %{name} = %{version} + +%description gui +A Qt5/KF5 based GUI for Heaptrack. + %if %{with lang} %lang_package %endif @@ -69,40 +83,28 @@ sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt %build - %cmake_kf5 -d build - %make_jobs +%if %{_lib} == lib64 +extra_opts="-DLIB_SUFFIX=64" +%endif + +%cmake_kf5 -d build -- $extra_opts + +%cmake_build %install - %make_install -C build + %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --all-name %endif # Fixup desktop file %suse_update_desktop_file org.kde.heaptrack Development Profiling -%package devel -Summary: Development files for the Heaptrack API -Group: Development/Libraries/KDE -Requires: %{name} = %{version} - -%description devel -This package contains files needed to develop for the Heaptrack -API. - -%package gui -Summary: GUI Frontend for Heaptrack -Group: Development/Tools/Other -Requires: %{name} = %{version} - -%description gui -A Qt5/KF5 based GUI for Heaptrack. - %files %license COPYING* %doc README.md %{_kf5_bindir}/heaptrack %{_kf5_bindir}/heaptrack_print -%{_libexecdir}/heaptrack +%{_libdir}/heaptrack/ %files devel %license COPYING*
