Blame SPECS/memstrack.spec

9c9e46
# vim: syntax=spec
9c9e46
%global gitcommit bd9e0c35df50883a37e1768db418dbde0419ee41
9c9e46
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
9c9e46
%global snapshotdate 20200520
9c9e46
9c9e46
Name:           memstrack
9c9e46
Version:        0.1.4
9c9e46
Release:        1%{?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
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
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
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