Blame SPECS/memstrack.spec

9c9e46
# vim: syntax=spec
9c9e46
9c9e46
Name:           memstrack
2e0bf8
Version:        0.2.4
2e0bf8
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
2e0bf8
Source:         https://github.com/ryncsn/memstrack/archive/refs/tags/v%{version}.tar.gz
2e0bf8
2e0bf8
Patch1: 0001-Skip-memcg-info-in-__process_stacktrace-for-page_own.patch
2e0bf8
Patch2: 0002-Fix-data-type-error-in-perf_handle_mm_page_alloc.patch
9c9e46
9c9e46
%description
9c9e46
A memory allocation tracer, like a hot spot analyzer for memory allocation
9c9e46
9c9e46
%prep
2e0bf8
%setup -q -n memstrack-%{version}
2e0bf8
%patch1 -p1
2e0bf8
%patch2 -p1
9c9e46
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
2e0bf8
* Fri Jul 15 2022 Tao Liu <ltao@redhat.com> - 0.2.4-2
2e0bf8
- Revert bz2107730
2e0bf8
2e0bf8
* Fri Jul 15 2022 Tao Liu <ltao@redhat.com> - 0.2.4-1
2e0bf8
- Rebase to latest upstream(813c2feaa2f)
2e0bf8
c3da6b
* Tue Aug 6 2020 Kairui Song <kasong@redhat.com> - 0.1.11-1
c3da6b
- Fix memstrack failure with large memory hole
c3da6b
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