Release 0.1.2-1
Update to latest upstream release and remove dracut subpackage, it will be included in dracut.
This commit is contained in:
parent
fcdc2d5b91
commit
f6a260f5c7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/memstrack-ee02de2.tar.gz
|
/memstrack-ee02de2.tar.gz
|
||||||
|
/memstrack-855b2f4.tar.gz
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
# vim: syntax=spec
|
# vim: syntax=spec
|
||||||
%global gitcommit ee02de283fec5499639751deb6c0d7848fba986c
|
%global gitcommit 855b2f44f5f7c0ab5218013f54eaa9772fba8214
|
||||||
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
%global gitshortcommit %(c=%{gitcommit}; echo ${c:0:7})
|
||||||
%global snapshotdate 20200310
|
%global snapshotdate 20200421
|
||||||
|
|
||||||
# keep dracutlibdir consistent with the definition in dracut.spec
|
|
||||||
%global dracutlibdir %{_prefix}/lib/dracut
|
|
||||||
%global dracutmoduledir %{dracutlibdir}/modules.d/99memstrack
|
|
||||||
|
|
||||||
Name: memstrack
|
Name: memstrack
|
||||||
Version: 0
|
Version: 0.1.2
|
||||||
Release: 1.%{snapshotdate}git%{gitshortcommit}%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
|
Summary: A memory allocation tracer, like a hot spot analyzer for memory allocation
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: https://github.com/ryncsn/memstrack
|
URL: https://github.com/ryncsn/memstrack
|
||||||
@ -22,16 +18,6 @@ Source: https://github.com/ryncsn/memstrack/archive/%{gitcommit}/memstra
|
|||||||
%description
|
%description
|
||||||
A memory allocation tracer, like a hot spot analyzer for memory allocation
|
A memory allocation tracer, like a hot spot analyzer for memory allocation
|
||||||
|
|
||||||
%package dracut
|
|
||||||
Summary: Debug hook for analyzing memory with memstract in dracut
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
|
||||||
Requires: dracut
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description dracut
|
|
||||||
Debug hook for analyzing memory with memstract in dracut, help analyze
|
|
||||||
booting stage memory usage.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n memstrack-%{gitcommit}
|
%setup -q -n memstrack-%{gitcommit}
|
||||||
|
|
||||||
@ -43,24 +29,14 @@ make %{?_smp_mflags}
|
|||||||
mkdir -p %{buildroot}/%{_bindir}
|
mkdir -p %{buildroot}/%{_bindir}
|
||||||
install -p -m 755 memstrack %{buildroot}/%{_bindir}
|
install -p -m 755 memstrack %{buildroot}/%{_bindir}
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{dracutmoduledir}
|
|
||||||
install -p -m 644 misc/99memstrack/memstrack.service %{buildroot}/%{dracutmoduledir}/memstrack.service
|
|
||||||
install -p -m 755 misc/99memstrack/module-setup.sh %{buildroot}/%{dracutmoduledir}/module-setup.sh
|
|
||||||
install -p -m 755 misc/99memstrack/start-tracing.sh %{buildroot}/%{dracutmoduledir}/start-tracing.sh
|
|
||||||
install -p -m 755 misc/99memstrack/stop-tracing.sh %{buildroot}/%{dracutmoduledir}/stop-tracing.sh
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/memstrack
|
%{_bindir}/memstrack
|
||||||
|
|
||||||
%files dracut
|
|
||||||
%dir %{dracutmoduledir}
|
|
||||||
%{dracutmoduledir}/memstrack.service
|
|
||||||
%{dracutmoduledir}/module-setup.sh
|
|
||||||
%{dracutmoduledir}/start-tracing.sh
|
|
||||||
%{dracutmoduledir}/stop-tracing.sh
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sun Mar 15 2020 Kairui Song <ryncsn@gmail.com> - 0-1.20200310gitee02de2
|
||||||
- First release
|
- First release
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (memstrack-ee02de2.tar.gz) = a0d8086cbca571f3a63a242fb4b6d74c6c0645abf279bbcee9f39aaedb714bfc5e2b443aad3f7be75ed34426b4520e1a36d397ca064493bc4ea0916a1c3f7729
|
SHA512 (memstrack-855b2f4.tar.gz) = e3f16a8f328ae56262ce826199285c5df9895eb2fec6d92c8bf1aa7af53721ddc8b268c5d4abac0996630b39ed39bf0484cf1aa2f25b1dc46b97a55e4a540fe4
|
||||||
|
Loading…
Reference in New Issue
Block a user