move binary to /bin as wanted by dracut [release 0.1.12-2mamba;Sat Dec 26 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 07:04:50 +01:00
parent 44c23270c1
commit be75742762
2 changed files with 50 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# memstrack # memstrack
A memory allocation trace, like a hot spot analyzer for memory allocation, it can help analyze overall memory usage, peak memory usage, kernel module memory usage. Userspace memory trace is planned and not yet implemented.

48
memstrack.spec Normal file
View File

@ -0,0 +1,48 @@
Name: memstrack
Version: 0.1.12
Release: 2mamba
Summary: A memory allocation trace, like a hot spot analyzer for memory allocation
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ryncsn/memstrack.git
Source: https://github.com/ryncsn/memstrack.git/v%{version}/memstrack-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A memory allocation trace, like a hot spot analyzer for memory allocation, it can help analyze overall memory usage, peak memory usage, kernel module memory usage. Userspace memory trace is planned and not yet implemented.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
bindir=/bin
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
/bin/memstrack
%doc LICENSE
%changelog
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.12-2mamba
- move binary to /bin as wanted by dracut
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.12-1mamba
- package created using the webbuild interface