* fix: properly add the PostRemove script, not the PostInstall script
* feat: provide more field support for rpms
New RPM fields
---
* Description
* OS <= info.Platform
* Licence
* URL <= info.Homepage
* Vendor
* Packager <= info.Maintainer
* Provides
* Require <= info.Depends
* Obsolete <= info.Replaces
* Suggests
* Conflicts
Fixes
---
* RPM Compression types are supported again
* RPM Config files are supported again
* `rpmpack` will support all the rpm file types, so we could extend this more latter
* chore: disable wsl (a new linter in 1.20.x got golangci-lint) until we decide to enable it
* chore: address PR comments
* fix: rules tests, overridables
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* doc: gogoc
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: rpm template
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: rpm template
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: improve rpm release config
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* fix: template
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
* add support for build rpm packages for aarch64
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
* add unit test to verify the manipulation of the arch field
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
* add acceptance test for arm64 builds
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
* use newer travis ubuntu distro
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
* enable binfmt in docker
Signed-off-by: Christoph Hartmann <chris@lollyrock.com>