The reason I am fixing this is that gitg that I use quite often is unresolved because of this one. At a certain point, it will be holding an old libgit2 on the system just for that. With this fix, that chain can rebuild just fine.
Where did the patch come from? If it is upstream, could you please provide some URL? If it is not, could you please send it upstream and then provide an URL?
The reason I am fixing this is that gitg that I use quite often is unresolved because of this one. At a certain point, it will be holding an old libgit2 on the system just for that. With this fix, that chain can rebuild just fine.
Where did the patch come from? If it is upstream, could you please provide some URL? If it is not, could you please send it upstream and then provide an URL?
https://github.com/libgit2/pygit2/commit/6d539d76b53bb8ebddb97aaae0f783959e1f0810 is the original commit. I removed stuff that is not needed like chunk of Changelog and docs and rediffed it so that it applies to the 1.14.1 tarball.
It's a good practice to include the upstream patch link in a comment before the patch so we can track in the future: https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Type_1:_minimal_single-line_comment_in_spec_file
In any case, I'll accept and I'll add the comment before sending to Factory