Skip to content

Generate spec file for RPM packages #241

Description

@UebelAndre

This is a feature request for pkg_rpm to have a similar set of attributes to pkg_deb such that the spec file can be generated within the rule. Having this would make it easier to maintain releases and enable users to define a single source of truth for package information without having to write a bunch of genrule magic.

Activity

  1. nacl commented on Sep 29, 2020

    @nacl
    Collaborator

    We've been working on something like this for a while. See the rules in https://github.com/bazelbuild/rules_pkg/tree/main/pkg/experimental. They function more or less correctly, but the interfaces are not yet stable.

    This task is ongoing; please feel free to chime in with any questions, comments, or ideas :)

    See also #128, #129.

  2. UebelAndre commented on Sep 30, 2020

    @UebelAndre
    Author

    That's perfect, thank! Any idea when the interface will stabilize?

  3. nacl commented on Oct 1, 2020

    @nacl
    Collaborator

    We should have a better idea soon, but if I were to make a guess now, I'd say late this year or early next year.

    FWIW, the experimental rules are very usable right now, but we've found some potential ways to refine them that can make specifying large packages much easier. We're going to be discussing them and hope to implement them soon. One such option is #238.

  4. added
    P3An issue that we are not working on but will review quarterly
    on Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3An issue that we are not working on but will review quarterly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions