move README

Signed-off-by: duyiwei <duyiwei@kylinos.cn>
This commit is contained in:
duyiwei 2023-09-14 03:15:26 +00:00
parent 53ce4fbc80
commit 6d14cfda29

View File

@ -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 <duyiwei@kylinos.cn> - 1.16-3
- move README
* Thu Jul 20 2023 lvgenggeng <lvgenggeng@uniontech.com> - 1.16-2
- add support for loongarch64