|
|
9c9e46 |
# vim: syntax=spec
|
|
|
893e33 |
%global gitcommit afc06babd50695ea5c07c811e48d4c75c05b60aa
|
|
|
9c9e46 |
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
|
|
893e33 |
%global snapshotdate 20200628
|
|
|
9c9e46 |
|
|
|
9c9e46 |
Name: memstrack
|
|
|
893e33 |
Version: 0.1.8
|
|
|
919ab4 |
Release: 2%{?dist}
|
|
|
9c9e46 |
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
|
9c9e46 |
License: GPLv3
|
|
|
9c9e46 |
URL: https://github.com/ryncsn/memstrack
|
|
|
9c9e46 |
VCS: git+git@github.com:ryncsn/memstrack.git
|
|
|
9c9e46 |
BuildRequires: gcc
|
|
|
9c9e46 |
BuildRequires: ncurses-devel
|
|
|
9c9e46 |
|
|
|
9c9e46 |
Source: https://github.com/ryncsn/memstrack/archive/%{gitcommit}/memstrack-%{gitshortcommit}.tar.gz
|
|
|
919ab4 |
Patch0: 0001-Fix-TUI-not-responding-on-quit.patch
|
|
|
919ab4 |
Patch1: 0002-Fix-unittest-failure.patch
|
|
|
9c9e46 |
|
|
|
9c9e46 |
%description
|
|
|
9c9e46 |
A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
|
9c9e46 |
|
|
|
9c9e46 |
%prep
|
|
|
9c9e46 |
%setup -q -n memstrack-%{gitcommit}
|
|
|
9c9e46 |
|
|
|
919ab4 |
%patch0 -p1
|
|
|
919ab4 |
%patch1 -p1
|
|
|
919ab4 |
|
|
|
9c9e46 |
%build
|
|
|
9c9e46 |
%{set_build_flags}
|
|
|
9c9e46 |
make %{?_smp_mflags}
|
|
|
9c9e46 |
|
|
|
9c9e46 |
%install
|
|
|
9c9e46 |
mkdir -p %{buildroot}/%{_bindir}
|
|
|
9c9e46 |
install -p -m 755 memstrack %{buildroot}/%{_bindir}
|
|
|
9c9e46 |
|
|
|
9c9e46 |
%files
|
|
|
9c9e46 |
%doc README.md
|
|
|
9c9e46 |
%license LICENSE
|
|
|
9c9e46 |
%{_bindir}/memstrack
|
|
|
9c9e46 |
|
|
|
9c9e46 |
%changelog
|
|
|
919ab4 |
* Tue Jul 14 2020 Kairui Song <kasong@redhat.com> - 0.1.8-2
|
|
|
919ab4 |
- Fix TUI not quiting issue
|
|
|
919ab4 |
|
|
|
893e33 |
* Sun Jun 28 2020 Kairui Song <kasong@redhat.com> - 0.1.8-1
|
|
|
893e33 |
- Bump to latest upstream version, fix some issues and introduce unit test
|
|
|
893e33 |
|
|
|
893e33 |
* Wed Jun 24 2020 Kairui Song <kasong@redhat.com> - 0.1.7-1
|
|
|
893e33 |
- Bump to latest upstream version to fix multiple bugs
|
|
|
893e33 |
|
|
|
9c9e46 |
* Wed May 20 2020 Kairui Song <kasong@redhat.com> - 0.1.4-1
|
|
|
9c9e46 |
- Bump to latest upstream version to fix some other issue found in early testing
|
|
|
9c9e46 |
|
|
|
9c9e46 |
* Tue May 19 2020 Kairui Song <kasong@redhat.com> - 0.1.3-1
|
|
|
9c9e46 |
- Bump to latest upstream version to fix problems found by rpmdiff
|
|
|
9c9e46 |
|
|
|
9c9e46 |
* Thu May 07 2020 Kairui Song <kasong@redhat.com> - 0.1.2-1
|
|
|
9c9e46 |
- Initial Release
|