0.2.5
New Features
- pkg_deb: Support Breaks and Replaces. (#117)
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces - Properly depends on rules_python - in preperation for bazelbuild/bazel#9006
- Reproducible RPM build host and time: #112
- Experimental rule set for better package content control (pkgfilegroup)
Incompatible Changes
None known. Bug fixes may have changed non-deterministic behavior to deterministic behavior.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pkg",
urls = [
"https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
],
sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
Using the rules
See the source.