upgrade to 0.1.3
(cherry picked from commit 2566f36f3062f61f4c80b5a01c8b61b68ad250a6)
This commit is contained in:
parent
63caa16b7f
commit
ab3325bae8
@ -5,7 +5,7 @@
|
||||
%global crate ssh-key-dir
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.1.2
|
||||
Version: 0.1.3
|
||||
Release: 1
|
||||
Summary: sshd AuthorizedKeysCommand to read ~/.ssh/authorized_keys.d
|
||||
|
||||
@ -61,14 +61,13 @@ replace-with = "vendored-sources"
|
||||
directory = "vendor"
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
mkdir -p %{buildroot}%{_libexecdir}
|
||||
mv %{_builddir}/ssh-key-dir-0.1.2/.cargo/bin/ssh-key-dir %{buildroot}%{_libexecdir}
|
||||
mv %{_builddir}/ssh-key-dir-0.1.3/.cargo/bin/ssh-key-dir %{buildroot}%{_libexecdir}
|
||||
install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key-dir.conf
|
||||
|
||||
%if %{with check}
|
||||
@ -77,5 +76,8 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/ssh/sshd_config.d conf/40-ssh-key
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 07 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.3-1
|
||||
- upgrade to 0.1.3
|
||||
|
||||
* Wed Jan 26 2022 duyiwei <duyiwei@kylinos.cn> - 0.1.2-1
|
||||
- Package init
|
||||
- Package init
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
ssh-key-dir-0.1.3.crate
Normal file
BIN
ssh-key-dir-0.1.3.crate
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user