Skip to content

Commit daaba41

Browse files
1 parent 6ffb82e commit daaba41

File tree

6 files changed

+89
-0
lines changed

6 files changed

+89
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module(
2+
name = "rules_rpm",
3+
version = "0.1.2",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
8+
bazel_dep(name = "platforms", version = "0.0.11")
9+
bazel_dep(name = "rules_cc", version = "0.1.1")
10+
11+
rpm_toolchain = use_extension("//toolchains:extensions.bzl", "rpm_toolchain")
12+
use_repo(rpm_toolchain, "rpm_toolchain")
13+
14+
register_toolchains(
15+
"//toolchains:linux_x86_64",
16+
"//toolchains:linux_aarch64",
17+
)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0",
3+
"attestations": {
4+
"source.json": {
5+
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/source.json.intoto.jsonl",
6+
"integrity": "sha256-hVIGHuqlVTp5rrIXyncN2qruKWw1bopKFqGg9I7kz8Q="
7+
},
8+
"MODULE.bazel": {
9+
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/MODULE.bazel.intoto.jsonl",
10+
"integrity": "sha256-AD3Oeg5k7Gu1nvW3IyEg2zdyQ7Vr7clMTdY/4rgEu9I="
11+
},
12+
"rules_rpm-v0.1.2.tar.gz": {
13+
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/rules_rpm-v0.1.2.tar.gz.intoto.jsonl",
14+
"integrity": "sha256-82KwAkk7Hh3b1FSLGUAL6egJjT/TadocUU3k7yqSN4o="
15+
}
16+
}
17+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,7 +1,7 @@
5+
module(
6+
name = "rules_rpm",
7+
- version = "0.1.0",
8+
+ version = "0.1.2",
9+
compatibility_level = 1,
10+
)
11+
12+
bazel_dep(name = "bazel_skylib", version = "1.7.1")
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
matrix:
2+
platform:
3+
- ubuntu2004
4+
- ubuntu2204
5+
bazel:
6+
- 6.x
7+
- 7.x
8+
tasks:
9+
verify_targets:
10+
name: Verify build targets
11+
platform: ${{ platform }}
12+
bazel: ${{ bazel }}
13+
build_targets:
14+
- "//examples/simple_binary:hello_world_rpm"
15+
- "//examples/complex_package:complex_app_rpm"
16+
- "//examples/complex_package:complex_app_rpm_with_transitive"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-haPHEP4oQ/zB3sZvLN2KEotwFD5zUPNK+I6fJHhPp6Q=",
3+
"strip_prefix": "rules_rpm-0.1.2",
4+
"url": "https://github.com/bilelmoussaoui/bazel-rpm/releases/download/v0.1.2/rules_rpm-v0.1.2.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-HJBvAHBTHx+w4nxw+8cIOAMweAshsuFSgL0sx5VFQ6U="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_rpm/metadata.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"homepage": "https://github.com/bilelmoussaoui/bazel-rpm",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "bilelmoussaoui",
7+
"name": "Bilal Elmoussaoui",
8+
"github_user_id": 7660997
9+
}
10+
],
11+
"repository": [
12+
"github:bilelmoussaoui/bazel-rpm"
13+
],
14+
"versions": [
15+
"0.1.2"
16+
],
17+
"yanked_versions": {}
18+
}

0 commit comments

Comments
 (0)