diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-08-10 12:36:09 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-08-10 12:36:09 +0000 |
| commit | 4f42dee4c44fcfbcffe98fe9dfd2e47246e287be (patch) | |
| tree | a5bc4d584001b92856c7c0f61c96b0695822091d | |
| parent | cafa5ed7c3969e2a9713262455ca85846d1ee0e7 (diff) | |
automatic import of elasticMemopeneuler20.03_LTS_SP4
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | elasticMem.spec | 52 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 54 insertions, 0 deletions
@@ -0,0 +1 @@ +/elasticMem-v1.0.0.tar.gz diff --git a/elasticMem.spec b/elasticMem.spec new file mode 100644 index 0000000..026910a --- /dev/null +++ b/elasticMem.spec @@ -0,0 +1,52 @@ +Name: elasticMem +Version: v1.0.0 +Release: 2 +Summary: User-space memory proactive reclaimer service +License: MulanPSL2 +URL: https://gitcode.com/openeuler/%{name} +Source0: %{name}-%{version}.tar.gz + +%global debug_package %{nil} + +Requires: numactl-libs systemd + +%description +elasticMem is a user-space memory proactive reclaimer service for openEuler. +It supports two mutually exclusive tuning strategies: parallel tuning (paral) +and lightweight tuning (light), providing capabilities such as memory +migration, CPU sampling monitoring, and whitelist filtering. + +%prep +%autosetup -n %{name}-%{version} + +%build +# Prebuilt binary package. Nothing to build. + +%install +install -D -m 0755 bin/elasticMem %{buildroot}%{_bindir}/elasticMem +install -D -m 0644 config/elasticMem.service %{buildroot}%{_unitdir}/elasticMem.service +install -D -m 0640 config/elasticMem.ini %{buildroot}%{_sysconfdir}/elasticMem.ini +install -D -m 0644 config/elasticMem.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/elasticMem +mkdir -p %{buildroot}%{_localstatedir}/log/elasticMem + +%preun +%systemd_preun elasticMem.service + +%post +%systemd_post elasticMem.service + +%files +%license LICENSE +%doc README.md +%attr(0750, root, root) %{_bindir}/elasticMem +%attr(0644, root, root) %{_unitdir}/elasticMem.service +%attr(0640, root, root) %{_sysconfdir}/elasticMem.ini +%attr(0644, root, root) %{_sysconfdir}/logrotate.d/elasticMem +%attr(0750, root, root) %{_localstatedir}/log/elasticMem + +%changelog +* Wed Jun 03 2026 wangyi <wangyi395@huawei.com> - v1.0.0-2 +- Package prebuilt binary + +* Tue May 19 2026 fly_1997 <flylove7@outlook.com> - v1.0.0-1 +- Package init @@ -0,0 +1 @@ +de6885c05091b1296795e8756ce2af2e elasticMem-v1.0.0.tar.gz |
