Skip to content

Update dependency rules_pkg to v1.2.0#715

Merged
tweag-ev-ak merged 1 commit intomasterfrom
renovate/rules_pkg-1.x
Apr 13, 2026
Merged

Update dependency rules_pkg to v1.2.0#715
tweag-ev-ak merged 1 commit intomasterfrom
renovate/rules_pkg-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 13, 2026

This PR contains the following updates:

Package Type Update Change
rules_pkg (source) bazel_dep minor 1.0.11.2.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bazelbuild/rules_pkg (rules_pkg)

v1.2.0

Compare Source

New Features

  • pkg_deb: add support for md5sums control file
  • pkg_deb: Allow for variables in the package name
  • pkg_deb: Overridable debuginfo type
  • pkg_install: Add destdir_flag to pick up destdir from a bazel-skylib.string_flag().
  • pkg_install: support for symlinks
  • pkg_mklink: support raw symlinks from declare_symlink() (Bazel 8+ only)
  • pkg_rpm: "data" attribute to provide files for rpmbuild b
  • pkg_tar: Conditionally preserve file mtime
  • pkg_tar: Support compression_level when using xz
  • pkg_zip: support synlinks

Incompatible Changes

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.2.0")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pkg",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.2.0/rules_pkg-1.2.0.tar.gz",
    ],
    sha256 = "b5c9184a23bb0bcff241981fd9d9e2a97638a1374c9953bb1808836ce711f990",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.

What's Changed

New Contributors

Full Changelog: bazelbuild/rules_pkg@1.1.0...1.2.0

v1.1.0

Compare Source

New Features

  • pkg_dep: Add the multi_arch option in make_deb.py in order to add the Multi-Arch field in debian control file. (#​937)
  • pkg_rpm: Generic debuginfo RPM platform support (#​942)
  • pkg_rpm: fix sub-RPM post_scriptlet and add %postun support (#​934)
  • install: Add --wipe_destdir option (#​894)
  • pkg_tar: Make compression_level configurable for .tar.gz (#​888)
  • pkg_install: Add destdir attr & read rel paths. (#​886)
  • pkg_install: Support TreeArtifacts. (#​885)

Incompatible Changes

None that we know of.

Change Log

  • Modify the rich_structure example to set include_runfiles (#​906)
  • Fix installing an installed running process (#​941)
  • tar_writer.py: address duplicate dir warning regression (#​900)
  • Add the multi_arch option in make_deb.py in order to add the Multi-Arch field in debian control file. (#​937)
  • Generic debuginfo RPM platform support (#​942)
  • rpm: fix sub-RPM post_scriptlet and add %postun support (#​934)
  • Syntax highlight the readme as starlark (#​939)
  • rpm: Consume group info for sub RPMs (#​931)
  • ci: Check pre-commit hooks in CI (#​922)
  • fix: Avoid else after return in mappings bzl (#​923)
  • Add pre-commit hooks to format trailing whitespaces (#​924)
  • Pre commit autoupdate and format files (#​913)
  • Allow some common rule args in verify_archive_test (#​917)
  • ci: Bump Ubuntu version in CI from 18 to 22 (#​912)
  • Fix check_must_contain_regex in verify_archive.bzl (#​910)
  • Delete deb_packages directory (#​903)
  • install: Add --wipe_destdir option (#​894)
  • Load py_binary from rules_python (#​895)
  • make_rpm: suppress unconditional debug prints (#​892)
  • pkg_install: modify log levels & print destdir by default. (#​891)
  • Make compression_level configurable for .tar.gz (#​888)
  • rpm: Refine prefix matching for sub RPMs to reduce fragility (#​879)
  • pkg_install: Add destdir attr & read rel paths. (#​886)
  • pkg_install: Support TreeArtifacts. (#​885)
  • Add support for repo mapping (#​878)

Thanks to all the contributors to this release: Andrea Nardelli,
Chris Bachhuber, Dahan Gong, Eric Wieser, Ivo List, Luis Padron,
Markus Hofbauer, Mateusz Krakowiak, Michael Kelly, Mike Kelly,
Nic, Peter Collingbourne, Thomas Lam, Tony Aiuto, Yun Peng,
jacky8hyf, hcw-g, njlr, Peter Woodman, wade-arista

MODULE.bazel setup

bazel_dep(name = "rules_pkg", version = "1.1.0")

WORKSPACE setup

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pkg",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz",
        "https://github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz",
    ],
    sha256 = "b7215c636f22c1849f1c3142c72f4b954bb12bb8dcf3cbe229ae6e69cc6479db",
)
load("@​rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()

Using the rules

See the source.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner April 13, 2026 08:00
@renovate renovate Bot added the merge-queue merge on green CI label Apr 13, 2026
@tweag-ev-ak tweag-ev-ak merged commit 98b01c4 into master Apr 13, 2026
12 checks passed
@tweag-ev-ak tweag-ev-ak deleted the renovate/rules_pkg-1.x branch April 13, 2026 08:31
@mergify mergify Bot removed the merge-queue merge on green CI label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant