Tags

Tags give the ability to mark specific points in history as being important
  • v1.19.0

    1675b7c8 · Release 1.19.0 ·
    go2rpm 1.19.0
    
    Changes:
    
    The vendor specfile template underwent minor changes to match the example
    specfile in the Golang Packaging Guidelines.
    
    - Source unpacking was simplified.
        - `%goprep -p1` (added in go-rpm-macros 3.8.0) is used to automatically apply patches,
          removing the need for the `%autopatch -p1` invocation.
        - The complicated `%setup` invocation to unpack the vendor archive
          was replaced with `tar`.
    - The manual `%license vendor/modules.txt` entry in `%files` was removed.
      `%go_vendor_license_install` handles it automatically in the latest version
      of go-vendor-tools.
    
    Looking ahead:
    
    - `--profile=vendor` will become the default in go2rpm 2.0.0.
    - The current default profile (`--profile 2`) that generates packages that
      depend on separately packaged Go libraries is in maintenance mode,
      as the new Golang Packaging Guidelines recommend the vendored approach.
      Nevertheless, `--profile 2` will remain available as a non-default option in
      go2rpm 2.0.0.
    - `--profile 1` is deprecated and will be removed in go2rpm 2.0.0.
      There is no valid usecase for it anymore,
      and it relies on deprecated macros from before the 2019 revision of
      the Golang Packaging Guidelines.
    
  • v1.18.0

    79f18afd · Release 1.18.0 ·
    go2rpm 1.18.0
    
    - Include explicit list of commands instead of a glob in `%files`
    - Add additional directories to command discovery excludes. We don't want to
      build anything in `scripts` or `hack` directories.
    
  • v1.17.1

    1bfc5553 · Release 1.17.1 ·
    go2rpm 1.17.1
    
    Correct error in release process
    
  • v1.17.0

    335ed9c2 · Release 1.17.0 ·
    go2rpm 1.17.0
    
    - vendor: use `--autofill` feature for go_vendor_license.
    - vendor: Bump minimum supported go-vendor-tools to v0.8.0.
    - packaging: enforce minimum version of go-vendor-tools when installing RPM
      package.
    - templates vendor: get rid of unnecessary `%common_description` macro.
      We can just set `%description` directly.
    - templates vendor: turn on go modules mode.
      We don't need `GO111MODULE=off` now that we use vendored dependencies.
      Along with this change, the template switches from `%gocheck` to `%gotest`.
      Additional documentation will be provided.
    
  • v1.16.0

    b4b61fff · Release 1.16.0 ·
    go2rpm 1.16.0
    
    - Add forgejo and codeberg to known forges
        (contributed by Mikel Olasagasti).
    - Warn if package name length is longer than 64 chars
        (contributed by Mikel Olasagasti).
    - vendor: support scancode when unavailable at buildtime.
        Together with the introduction of `%go_vendor_license_check_disable` in
        go-vendor-tools 0.7.0, this allows using scancode as a license detector
        while not pulling it in at buildtime when it's unavailable.
    - Require go-vendor-tools >= 0.7.0
    
  • v1.15.0

    74b75434 · Release 1.15.0 ·
    go2rpm 1.15.0
    
    Added:
    
    - cli: group vendor profile flags together in `--help` message
    - doc: fully document `--profile` option and add
      "Bundled vendored dependencies" section
      (contributed by Brad Smith)
    
    Fixed:
    
    - cli and templates: properly handle cases when `--tag` and `--version` are
      passed simultaneously
    - doc README: fix broken link
    
  • v1.14.0

    Added:
    
     - Warning indicating not to use globs in generated specs
     - A global bootstrap bcond in order to provide a bootstrap workflow
  • v1.13.1

    bafd7586 · Release 1.13.1 ·
    go2rpm 1.13.1
    
    Added:
    
    - Publish go2rpm to PyPI
    
    Fixed:
    
    - templates vendor: adjust go-vendor-tools–generated comment
    
  • v1.13.0

    332a0d8f · Release 1.13.0 ·
    go2rpm 1.13.0
    
    Added:
    
    - `templates`: add consistent sorting to ensure that specfile generation is
      deterministic
    - `vendor`: add `--compression` and `--compresslevel` flags
    - `vendor`: add informational comment above generated license
    - `vendor`: use `bz2` as default compression to match `go-vendor-tools`
    - `vendor`; `packaging`: bump minimum go-vendor-tools version
    
  • v1.11.1

    7d0aeffe · Release 1.11.1 ·
    go2rpm 1.11.1
    
    Fixed:
    
    - **`rpmname`: fix use_new_versioning regex**
    - `.gitignore`: add missing setuptools build directories
    - `init`: correct `__version__` constant
    - `setup.py`: fix metadata for upload to PyPI
    
  • v1.12.0

    58e2b332 · Release 1.12.0 ·
    go2rpm 1.12.0
    
    Added:
    
    - `doc`: extend README file (@mikelolasagasti)
    - **`main`: add `vendor` profile and integrate go-vendor-tools**
    - `main`: add `--no-clean flag` and use it in tests
    - `main`: add `-V/--go2rpm-version` flag
    - **`main`: add `--download` flag to download sources**
    - `tests`: add basic pytest unit tests
    
    Changed:
    
    - `init`: correct `__version__` constant
    - `packaging`: switch to `flit_core` and adopt PEP 621 metadata
    
    Fixed:
    
    - `cli`: print error message to stderr
    - **`rpmname`: fix `use_new_versioning` regex for multi-number suffixes**
    
  • v1.11.0

    go2rpm 1.10.0
    
    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`
    
  • v1.10.0

    go2rpm 1.10.0
    
    Added
    -------
    
    Robert-André Mauchin (1):
          Fix goname generation to match versioning guildelines
  • v1.9.0

    f86a2980 · Release 1.9.0 ·
    go2rpm 1.9.0
    ============
    
    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!
    
  • v1.8.2

    bfad48f8 · Release 1.8.2 ·
    go2rpm 1.8.2
    
    Maxwell G (1):
          Use uppercase AND as the license delimiter as per SPDX spec
    
  • v1.8.1

    ff8530fc · Release 1.8.1 ·
    go2rpm 1.8.1
    
    Maxwell G (1):
          Remove rust2rpm requirement from setup.py
    
  • v1.8.0

    e426c2cf · Release 1.8.0 ·
    go2rpm 1.8.0
    
    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
    
  • 1.7.0

    9aeb3914 · Release 1.7.0 ·
  • v1.7.0

    9aeb3914 · Release 1.7.0 ·