deps: update bazeldnf digest to 45f5d74 (#1478)

* deps: update bazeldnf digest to 45f5d74
* bazel: use new bazeldnf feature to write rpm rules in a macro

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Malte Poll <mp@edgeless.systems>
This commit is contained in:
renovate[bot] 2023-03-21 15:25:00 +01:00 committed by GitHub
parent 093f0f0e28
commit ebcba57a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View File

@ -5,9 +5,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def dnf_deps():
http_archive(
name = "bazeldnf",
sha256 = "97c43034d55af16061adcae26e69588bc2e164cbc289a140a3bb5b2125f0109d",
strip_prefix = "bazeldnf-32db3eee870531104529711782da1aa4eca7dacf",
sha256 = "6104de1d657ae524bef5af86b153b82f114f532fe2e7eb02beb2e950550a88fe",
strip_prefix = "bazeldnf-45f5d74ba73710b538c57c9d43d88c583aab9d3a",
urls = [
"https://github.com/rmohr/bazeldnf/archive/32db3eee870531104529711782da1aa4eca7dacf.tar.gz",
"https://github.com/rmohr/bazeldnf/archive/45f5d74ba73710b538c57c9d43d88c583aab9d3a.tar.gz",
],
)

View File

@ -3,17 +3,23 @@
bazel run //:bazeldnf -- fetch \
--repofile rpm/repo.yaml
bazel run //:bazeldnf -- rpmtree \
--workspace rpm/rpms.bzl \
--workspace WORKSPACE.bazel \
--to_macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name cryptsetup-devel \
cryptsetup-devel
bazel run //:bazeldnf -- rpmtree \
--workspace rpm/rpms.bzl \
--workspace WORKSPACE.bazel \
--to_macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel \
--repofile rpm/repo.yaml \
--name libvirt-devel \
libvirt-devel
bazel run //:bazeldnf -- prune \
--workspace WORKSPACE.bazel \
--to_macro rpm/rpms.bzl%rpms \
--buildfile rpm/BUILD.bazel
bazel run //rpm:ldd-cryptsetup
bazel run //rpm:ldd-libvirt
bazel run //rpm:ldd-glibc