diff --git a/stalld.spec b/stalld.spec index ae16fe23129c284b4e32a48577edfff4cc452b2c..fe5493fe23c4db205980f65e0c8b1e87d756c776 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