Accepting request 1079199 from home:kukuk:cleanup
- Add lastlog symlink for compatibility OBS-URL: https://build.opensuse.org/request/show/1079199 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/lastlog2?expand=0&rev=33
This commit is contained in:
parent
5a41fb7043
commit
98a092d0eb
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 12:38:05 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
- Add lastlog symlink for compatibility
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 11 09:56:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
Tue Apr 11 09:56:19 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
@ -53,11 +53,12 @@ to develop applications that needs to read, write or modify the lastlog2 databas
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson -Dman=true
|
%meson -Dman=true -Dcompat-symlink=true
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
echo ".so lastlog2" > %{buildroot}%{_mandir}/man8/lastlog.8
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%meson_test
|
%meson_test
|
||||||
@ -84,11 +85,13 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%{_bindir}/lastlog
|
||||||
%{_bindir}/lastlog2
|
%{_bindir}/lastlog2
|
||||||
%{_unitdir}/lastlog2-import.service
|
%{_unitdir}/lastlog2-import.service
|
||||||
%{_tmpfilesdir}/lastlog2.conf
|
%{_tmpfilesdir}/lastlog2.conf
|
||||||
%{_pam_moduledir}/pam_lastlog2.so
|
%{_pam_moduledir}/pam_lastlog2.so
|
||||||
%ghost %{_localstatedir}/lib/lastlog
|
%ghost %{_localstatedir}/lib/lastlog
|
||||||
|
%{_mandir}/man8/lastlog.8%{?ext_man}
|
||||||
%{_mandir}/man8/lastlog2.8%{?ext_man}
|
%{_mandir}/man8/lastlog2.8%{?ext_man}
|
||||||
%{_mandir}/man8/pam_lastlog2.8%{?ext_man}
|
%{_mandir}/man8/pam_lastlog2.8%{?ext_man}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user