delete console-login-helper-messages-motdgen.conf

This commit is contained in:
jianli-97 2023-10-18 13:57:02 +08:00
parent ec33699488
commit a34e927371

View File

@ -3,9 +3,9 @@
Name: console-login-helper-messages
Version: 0.21.3
Release: 2
Release: 3
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}
Source0: https://github.com/%{github_owner}/%{github_project}/archive/v%{version}.tar.gz
@ -55,6 +55,8 @@ Requires: bash systemd setup
%install
make install DESTDIR=%{buildroot}
# /run/motd.d is now provided by the setup package
rm %{buildroot}/%{_tmpfilesdir}/%{name}-motdgen.conf
%post issuegen
%systemd_post %{name}-gensnippet-ssh-keys.service
@ -96,7 +98,6 @@ make install DESTDIR=%{buildroot}
%files motdgen
%{_unitdir}/%{name}-gensnippet-os-release.service
%{_prefix}/lib/%{name}/motd.defs
%{_tmpfilesdir}/%{name}-motdgen.conf
%{_libexecdir}/%{name}/gensnippet_os_release
%files profile
@ -105,6 +106,9 @@ make install DESTDIR=%{buildroot}
%ghost %{_sysconfdir}/profile.d/%{name}-profile.sh
%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
- delete requires openeuler-release