[PATCH] Fix Red Hat packages build failure
Fabio Pedretti
fabio.pedretti at unibs.it
Sun Jul 19 23:15:16 AEST 2020
Since 8.2p1 building Red Hat packages fails with the following error:
Processing files: openssh-debuginfo-8.3p1-1.el6_10.x86_64
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/root/rpmbuild/BUILDROOT/openssh-8.3p1-1.el6_10.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/libexec/openssh/ssh-sk-helper
/usr/share/man/man8/ssh-sk-helper.8.gz
RPM build errors:
line 94: prereq is deprecated: PreReq: initscripts >= 5.00
Installed (but unpackaged) file(s) found:
/usr/libexec/openssh/ssh-sk-helper
/usr/share/man/man8/ssh-sk-helper.8.g
This patch fixes it.
--- openssh.spec.old 2020-07-19 15:02:31.807136043 +0200
+++ openssh.spec 2020-07-19 15:11:00.466135825 +0200
@@ -382,10 +382,12 @@
%attr(0755,root,root) %{_bindir}/ssh-add
%attr(0755,root,root) %{_bindir}/ssh-keyscan
%attr(0755,root,root) %{_bindir}/sftp
+%attr(0755,root,root) %{_libexecdir}/openssh/ssh-sk-helper
%attr(0644,root,root) %{_mandir}/man1/ssh-agent.1*
%attr(0644,root,root) %{_mandir}/man1/ssh-add.1*
%attr(0644,root,root) %{_mandir}/man1/ssh-keyscan.1*
%attr(0644,root,root) %{_mandir}/man1/sftp.1*
+%attr(0644,root,root) %{_mandir}/man8/ssh-sk-helper.8*
%endif
%if ! %{rescue}
Please check and apply.
Thanks.
--
Informativa sulla Privacy: http://www.unibs.it/node/8155
<http://www.unibs.it/node/8155>
More information about the openssh-unix-dev
mailing list