!4 [sync] PR-2: upgrade ssh-key-dir to 0.1.3

From: @openeuler-sync-bot 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
This commit is contained in:
openeuler-ci-bot 2022-11-07 07:11:19 +00:00 committed by Gitee
commit 0552dddf6c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 6 additions and 4 deletions

View File

@ -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.

BIN
ssh-key-dir-0.1.3.crate Normal file

Binary file not shown.