Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions modules/rules_rpm/0.1.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module(
name = "rules_rpm",
version = "0.1.2",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "rules_cc", version = "0.1.1")

rpm_toolchain = use_extension("//toolchains:extensions.bzl", "rpm_toolchain")
use_repo(rpm_toolchain, "rpm_toolchain")

register_toolchains(
"//toolchains:linux_x86_64",
"//toolchains:linux_aarch64",
)
17 changes: 17 additions & 0 deletions modules/rules_rpm/0.1.2/attestations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
"attestations": {
"source.json": {
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/source.json.intoto.jsonl",
"integrity": "sha256-hVIGHuqlVTp5rrIXyncN2qruKWw1bopKFqGg9I7kz8Q="
},
"MODULE.bazel": {
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/MODULE.bazel.intoto.jsonl",
"integrity": "sha256-AD3Oeg5k7Gu1nvW3IyEg2zdyQ7Vr7clMTdY/4rgEu9I="
},
"rules_rpm-v0.1.2.tar.gz": {
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/rules_rpm-v0.1.2.tar.gz.intoto.jsonl",
"integrity": "sha256-82KwAkk7Hh3b1FSLGUAL6egJjT/TadocUU3k7yqSN4o="
}
}
}
12 changes: 12 additions & 0 deletions modules/rules_rpm/0.1.2/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_rpm",
- version = "0.1.0",
+ version = "0.1.2",
compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
16 changes: 16 additions & 0 deletions modules/rules_rpm/0.1.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
matrix:
platform:
- ubuntu2004
- ubuntu2204
bazel:
- 6.x
- 7.x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add 8.x?

tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "//examples/simple_binary:hello_world_rpm"
- "//examples/complex_package:complex_app_rpm"
- "//examples/complex_package:complex_app_rpm_with_transitive"
9 changes: 9 additions & 0 deletions modules/rules_rpm/0.1.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-haPHEP4oQ/zB3sZvLN2KEotwFD5zUPNK+I6fJHhPp6Q=",
"strip_prefix": "rules_rpm-0.1.2",
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/rules_rpm-v0.1.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-HJBvAHBTHx+w4nxw+8cIOAMweAshsuFSgL0sx5VFQ6U="
},
"patch_strip": 1
}
18 changes: 18 additions & 0 deletions modules/rules_rpm/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"homepage": "https://github.com/bilelmoussaoui/bazel-rpm",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just rename the project to rules_rpm?

"maintainers": [
{
"email": "[email protected]",
"github": "bilelmoussaoui",
"name": "Bilal Elmoussaoui",
"github_user_id": 7660997
}
],
"repository": [
"github:bilelmoussaoui/bazel-rpm"
],
"versions": [
"0.1.2"
],
"yanked_versions": {}
}
Loading