[Bug 2557] New: Incorrect file entries in openssh.spec

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Mar 23 03:31:51 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2557

            Bug ID: 2557
           Summary: Incorrect file entries in openssh.spec
           Product: Portable OpenSSH
           Version: 7.2p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: savjee at gmail.com

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 at openbsd.org <jmc at openbsd.org>
Date:   Sun Nov 8 22:08:38 2015 +0000

    upstream commit

    remove slogin links; ok deraadt markus djm

    Upstream-ID: 39ba08548acde4c54f2d4520c202c2a863a3c730

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list