Skip to content

Commit

Permalink
Fix some debian metadata (#625)
Browse files Browse the repository at this point in the history
Without ca-certificates, we cannot fetch bazel from https.

We also conflict with bazel-bootstrap due to /usr/bin/bazel.
  • Loading branch information
jwnimmer-tri authored Nov 5, 2024
1 parent c0b7400 commit d20eff9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,18 @@ ARCHES = ["amd64", "arm64"]
[
pkg_deb(
name = "bazelisk-{}_deb".format(arch),
out = "bazelisk-{}.deb".format(arch),
architecture = arch,
conflicts = ["bazel"],
conflicts = [
"bazel",
"bazel-bootstrap",
],
data = ":bazelisk-{}_tar".format(arch),
depends = ["ca-certificates"],
description_file = ":description.txt",
homepage = "https://github.com/bazelbuild/bazelisk",
license = "Apache-2.0",
maintainer = "The Bazel Authors <bazel-dev@googlegroups.com>",
out = "bazelisk-{}.deb".format(arch),
package = "bazelisk",
section = "contrib/devel",
version_file = ":version.txt",
Expand Down

0 comments on commit d20eff9

Please sign in to comment.