go2rpm 1.10.0 • a year ago
Maxwell G (3):
cli: add --print-name flag to debug `rpmname()`
rpmname: fix naming of go import paths with multi-character versions
templates: use `%goprep -A` flag by default
Mikel Olasagasti Uranga (1):
templates: remove unneeded `%global goname`
go2rpm 1.10.0 • a year ago
Added
-------
Robert-André Mauchin (1):
Fix goname generation to match versioning guildelines
go2rpm 1.9.0 • 2 years ago
============
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!
go2rpm 1.8.2 • 2 years ago
Maxwell G (1):
Use uppercase AND as the license delimiter as per SPDX spec
go2rpm 1.8.1 • 2 years ago
Maxwell G (1):
Remove rust2rpm requirement from setup.py
go2rpm 1.8.0 • 2 years ago
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
Release 1.4 • 4 years ago
Rework source fetching
Release 1.3 • 4 years ago
Drop vendored copy of licensing module
Bugfix release 1.2 • 4 years ago
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.
Release 1.1 • 4 years ago
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/