- configure.ac has a whitelist rather than a blacklist, so use ExclusiveArch rather than ExcludeArch. OBS-URL: https://build.opensuse.org/request/show/985244 OBS-URL: https://build.opensuse.org/package/show/devel:tools/memleax?expand=0&rev=6
54 lines
1.5 KiB
RPMSpec
54 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package memleax
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: memleax
|
|
Version: 1.1.1
|
|
Release: 0
|
|
Summary: Debugs memory leak of a running process
|
|
License: GPL-2.0-only
|
|
URL: https://wubingzheng.github.io/memleax/
|
|
Source0: https://github.com/WuBingzheng/memleax/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: libdw-devel
|
|
BuildRequires: libelf-devel
|
|
BuildRequires: libunwind-devel
|
|
ExclusiveArch: %ix86 x86_64 %arm aarch64
|
|
|
|
%description
|
|
Memleax is capable of debugging memory leak of a running process by
|
|
attaching to it. There is no need to recompile the program or restart the
|
|
target process.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
# not an autotools configure
|
|
./configure --prefix=%{_prefix}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/memleax
|
|
%{_mandir}/man1/memleax.1%{?ext_man}
|
|
|
|
%changelog
|