Bug 2557 - Incorrect file entries in openssh.spec
Summary: Incorrect file entries in openssh.spec
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 7.2p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_7_3
  Show dependency treegraph
 
Reported: 2016-03-23 03:31 AEDT by Jeevan Savant
Modified: 2016-12-09 12:21 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeevan Savant 2016-03-23 03:31:51 AEDT
The rpm spec file under openssh-7.2p2/contrib/redhat/openssh.spec 
has following 2 entries.

%files clients
%attr(-,root,root) %{_bindir}/slogin
%attr(-,root,root) %{_mandir}/man1/slogin.1*

These entries result in following errors when rpm is built using this spec file
Processing files: openssh-clients-7.2p2-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/openssh-7.2p2-1.x86_64/usr/bin/slogin
error: File not found by glob: /root/rpmbuild/BUILDROOT/openssh-7.2p2-1.x86_64/usr/share/man/man1/slogin.1*

The workaround is to comment the 2 lines. I believe the spec file need to take into account following check-in which removed slogin.


commit 69fead5d7cdaa73bdece9fcba80f8e8e70b90346
Author: jmc@openbsd.org <jmc@openbsd.org>
Date:   Sun Nov 8 22:08:38 2015 +0000

    upstream commit

    remove slogin links; ok deraadt markus djm

    Upstream-ID: 39ba08548acde4c54f2d4520c202c2a863a3c730
Comment 2 Damien Miller 2016-12-09 12:21:20 AEDT
Bulk mark issues CLOSED in 7.3 release