From 63fffd4d2069c27f8623765e5aecfcb0d3606250 Mon Sep 17 00:00:00 2001 From: duyiwei Date: Thu, 14 Sep 2023 03:15:26 +0000 Subject: [PATCH] move README Signed-off-by: duyiwei (cherry picked from commit 6d14cfda29e4a7736443c52b649fecbeca9d6e3b) --- stalld.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/stalld.spec b/stalld.spec index ae16fe2..fe5493f 100644 --- a/stalld.spec +++ b/stalld.spec @@ -1,6 +1,6 @@ Name: stalld Version: 1.16 -Release: 2 +Release: 3 Summary: Daemon that finds starving tasks and gives them a temporary boost License: GPLv2 @@ -32,13 +32,16 @@ allow 10 microseconds of runtime for 1 second of clock time. %install %make_install DOCDIR=%{_docdir} MANDIR=%{_mandir} BINDIR=%{_bindir} DATADIR=%{_datadir} VERSION=%{version} %make_install -C redhat UNITDIR=%{_unitdir} +mkdir -p %{buildroot}%{_docdir}/%{name} +mv %{buildroot}%{_docdir}/README.md %{buildroot}%{_docdir}/%{name}/ + %files %{_bindir}/%{name} %{_bindir}/throttlectl %{_unitdir}/%{name}.service %config(noreplace) %{_sysconfdir}/sysconfig/stalld -%doc %{_docdir}/README.md +%doc %{_docdir}/%{name}/README.md %doc %{_mandir}/man8/stalld.8* %license gpl-2.0.txt @@ -52,6 +55,9 @@ allow 10 microseconds of runtime for 1 second of clock time. %systemd_postun_with_restart %{name}.service %changelog +* Thu Sep 14 2023 duyiwei - 1.16-3 +- move README + * Thu Jul 20 2023 lvgenggeng - 1.16-2 - add support for loongarch64 -- Gitee