tmz / rpms / git

Forked from rpms/git 6 years ago
Clone

e8896ce update to 2.34.0

Authored and Committed by tmz 2 years ago
    update to 2.34.0
    
    Release notes:
    https://github.com/git/git/raw/v2.34.0/Documentation/RelNotes/2.34.0.txt
    
    Add `BuildRequires: openssh` for the `ssh-keygen` command; it is needed
    to test the newly-added ssh signing support¹.  Refer to the `gpg.format`
    and `gpg.ssh.*` variables in git-config(1) for details.
    
    [Unfortunately, openssh-8.7 has a bug in the requisite `ssh-keygen -Y
    find-principals` command, which will limit the usefulness of this
    feature on Fedora 35/36 until openssh is either rebased to 8.8 or the
    patch² is backported.  The git testsuite has been taught to skip the
    tests when this bug is present, in upstream ca7a5bf4bd (t/lib-gpg: avoid
    broken versions of ssh-keygen, 2021-11-10), but that won't help users
    who try out this new feature.  Hopefully we can get openssh-8.7 in
    Fedora 35 & 36 patched or updated before too long.]
    
    We have `Requires: openssh-clients` in git-core already.  The
    openssh-clients package requires openssh so we don't _need_ to add an
    install-time requirement to ensure the `ssh-keygen` command is
    available.
    
    Ignore RUNTIME_PREFIX and SYMLINKS_WINDOWS test prerequisites when
    looking for missing test suite BuildRequires³.
    
    The RUNTIME_PREFIX prerequisite was added in b7d11a0f5d (tests: exercise
    the RUNTIME_PREFIX feature, 2021-07-24)⁴.  It is used to build binaries
    which can be easily relocated, which we don't need in our builds.
    
    The SYMLINKS_WINDOWS prerequisite was added in 3e7d4888e5 (mingw: align
    symlinks-related rmdir() behavior with Linux, 2021-08-02)⁵.  It is, as
    the name implies, Windows-specific.
    
    ¹ https://github.com/git/git/commit/b5726a5d9c (ssh signing: preliminary
      refactoring and clean-up, 2021-09-10) and the commits which follow.
    ² https://github.com/openssh/openssh-portable/commit/ca0e455b93,
      https://github.com/openssh/openssh-portable/commit/4afe431da9, and
      https://www.mail-archive.com/source-changes@openbsd.org/msg127496.html
      (plus the replies, which point out the typo in the first patch)
    ³ fa92661 (Add grep patterns for checking skipped tests, 2019-02-02)
    ⁴ https://github.com/git/git/commit/b7d11a0f5dhttps://github.com/git/git/commit/3e7d4888e5
    
        
file modified
+2 -0
file modified
+6 -6
file modified
+2 -2