!18 move readme to docdir/stalld
From: @duyiwei7w Reviewed-by: @fu-shanqing Signed-off-by: @fu-shanqing
This commit is contained in:
commit
24b29d0b18
10
stalld.spec
10
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 <duyiwei@kylinos.cn> - 1.16-3
|
||||
- move README
|
||||
|
||||
* Thu Jul 20 2023 lvgenggeng <lvgenggeng@uniontech.com> - 1.16-2
|
||||
- add support for loongarch64
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user