forked from WuBingzheng/memleax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
memleax.spec
42 lines (28 loc) · 990 Bytes
/
memleax.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Name: memleax
Version: 1.0.3
Release: 1%{?dist}
Summary: Debugs memory leak of a running process
License: GPLv2
URL: http://wubingzheng.github.io/memleax/
Source0: https://github.com/WuBingzheng/memleax/archive/v1.0.3.tar.gz
BuildRequires: libdwarf-devel, elfutils-libelf-devel, libunwind-devel
ExcludeArch: ARM-hfp, x86
%description
Memleax debugs memory leak of a running process by attaching it.
It is very convenient to use, and suitable for production environment.
There is no need to recompile the program or restart the target process.
%prep
%setup -q
%build
./configure
make
%install
make install DESTDIR=%{buildroot}
%files
%{_bindir}/memleax
%{_mandir}/man1/memleax.1*
%changelog
* Sat Feb 28 2017 Wu Bingzheng <[email protected]> - 1.0.3-1.el7.centos
- add '-lz' in configure for FreeBSD
* Sat Jan 28 2017 Wu Bingzheng <[email protected]> - 1.0.2-1.el7.centos
- update README.md, and add man page