!6 delete console-login-helper-messages-motdgen.conf
From: @jianli-97 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
142962efab
@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
Name: console-login-helper-messages
|
Name: console-login-helper-messages
|
||||||
Version: 0.21.3
|
Version: 0.21.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Combines motd, issue, profile features to show system information to the user before/on login
|
Summary: Combines motd, issue, profile features to show system information to the user before/on login
|
||||||
License: BSD
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/%{github_owner}/%{github_project}
|
URL: https://github.com/%{github_owner}/%{github_project}
|
||||||
Source0: https://github.com/%{github_owner}/%{github_project}/archive/v%{version}.tar.gz
|
Source0: https://github.com/%{github_owner}/%{github_project}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
@ -55,6 +55,8 @@ Requires: bash systemd setup
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
# /run/motd.d is now provided by the setup package
|
||||||
|
rm %{buildroot}/%{_tmpfilesdir}/%{name}-motdgen.conf
|
||||||
|
|
||||||
%post issuegen
|
%post issuegen
|
||||||
%systemd_post %{name}-gensnippet-ssh-keys.service
|
%systemd_post %{name}-gensnippet-ssh-keys.service
|
||||||
@ -96,7 +98,6 @@ make install DESTDIR=%{buildroot}
|
|||||||
%files motdgen
|
%files motdgen
|
||||||
%{_unitdir}/%{name}-gensnippet-os-release.service
|
%{_unitdir}/%{name}-gensnippet-os-release.service
|
||||||
%{_prefix}/lib/%{name}/motd.defs
|
%{_prefix}/lib/%{name}/motd.defs
|
||||||
%{_tmpfilesdir}/%{name}-motdgen.conf
|
|
||||||
%{_libexecdir}/%{name}/gensnippet_os_release
|
%{_libexecdir}/%{name}/gensnippet_os_release
|
||||||
|
|
||||||
%files profile
|
%files profile
|
||||||
@ -105,6 +106,9 @@ make install DESTDIR=%{buildroot}
|
|||||||
%ghost %{_sysconfdir}/profile.d/%{name}-profile.sh
|
%ghost %{_sysconfdir}/profile.d/%{name}-profile.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 18 2023 lijian <lijian2@kylinos.cn> - 0.21.3-3
|
||||||
|
- delete console-login-helper-messages-motdgen.conf
|
||||||
|
|
||||||
* Wed Oct 18 2023 lijian <lijian2@kylinos.cn> - 0.21.3-2
|
* Wed Oct 18 2023 lijian <lijian2@kylinos.cn> - 0.21.3-2
|
||||||
- delete requires openeuler-release
|
- delete requires openeuler-release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user