52 lines
1.5 KiB
RPMSpec
52 lines
1.5 KiB
RPMSpec
# vim: syntax=spec
|
|
%global gitcommit afc06babd50695ea5c07c811e48d4c75c05b60aa
|
|
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
|
%global snapshotdate 20200628
|
|
|
|
Name: memstrack
|
|
Version: 0.1.8
|
|
Release: 2%{?dist}
|
|
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
License: GPLv3
|
|
URL: https://github.com/ryncsn/memstrack
|
|
VCS: git+git@github.com:ryncsn/memstrack.git
|
|
BuildRequires: gcc
|
|
BuildRequires: ncurses-devel
|
|
|
|
Source: https://github.com/ryncsn/memstrack/archive/%{gitcommit}/memstrack-%{gitshortcommit}.tar.gz
|
|
|
|
%description
|
|
A memory allocation tracer, like a hot spot analyzer for memory allocation
|
|
|
|
%prep
|
|
%setup -q -n memstrack-%{gitcommit}
|
|
|
|
%build
|
|
%{set_build_flags}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/%{_bindir}
|
|
install -p -m 755 memstrack %{buildroot}/%{_bindir}
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/memstrack
|
|
|
|
%changelog
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Mon Jun 06 2020 Kairui Song <kasong@redhat.com> - 0.1.8-1
|
|
- Update to upstream latest release
|
|
|
|
* Sat May 30 2020 Kairui Song <ryncsn@gmail.com> - 0.1.5-1
|
|
- Update to upstream latest release
|
|
|
|
* Tue Apr 21 2020 Kairui Song <ryncsn@gmail.com> - 0.1.2-1
|
|
- Update to upstream latest release
|
|
|
|
* Sun Mar 15 2020 Kairui Song <ryncsn@gmail.com> - 0-1.20200310gitee02de2
|
|
- First release
|