eclipseo / GoSIG / go2rpm

Forked from GoSIG/go2rpm 3 years ago
Clone

Releases 16

If the developers have uploaded one or more tarball(s), you will be able to find them in the release folder.

============ Fixed ------- Leonardo Rossetti (1): - Fix spelling error in the %gometa -f specfile warning comment. Added ------ Maxwell G (2): - Add `-d` / `--create-directory` flag** to output specfiles to NAME/NAME.spec. This emulates the distgit layout and makes it easier to organize specfiles and prepare them for review. - templates: use %autopatch -p1 to automatically apply patches. It's recommended to use %autosetup to setup the build directory and automatically apply patches. For Go packages, %goprep is used instead of %autosetup. %goprep calls %setup under the hood like %autosetup does, but it doesn't apply patches. Let's add %autopatch to preform the second part so Go packagers don't resort to manual %patch calls. Hopefully, this will also prevent people from accidentally using [deprecated] %patchN syntax. [deprecated]: https://github.com/rpm-software-management/rpm/blob/master/docs/manual/spec.md#patch-1 Mikel Olasagasti Uranga (1): - Add --name flag to set goname and spec name. This is useful for Go applications where the specfile's Name: should be the application name. New Contributors --------------- Thank you to @lrossett and @mikelo2 for your contributions!
Maxwell G (1): Use uppercase AND as the license delimiter as per SPDX spec
Maxwell G (1): Remove rust2rpm requirement from setup.py
Maxwell G (9): Use %%gometa -f by default Remove old rust2rpm licensing import template: Remove leading newline from %description Make contradictory arguments mutually exclusive Add argument to disable rpmautospec Fix jinja2 deprecation warning Add --no-spec-warnings argument
Rework source fetching
Drop vendored copy of licensing module
Use git fetch-git reset to origin instead of git pull. Git pull may not work if the repo is in an unclean state. Resetting to origin should fix that.
Use heads[0] instead of heads.master to work with repo who use main or other branches as default. See Github move: https://github.blog/2020-07-27-highlights-from-git-2-28/