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
15 changes: 15 additions & 0 deletions base/comps/librsvg2/librsvg2.comp.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
[components.librsvg2]

# Use vendored Rust dependencies (like RHEL) to avoid dynamic cargo BR generation
# which pulls in rust-image+avif-native → dav1d, a crate not available in AZL.
# https://52.249.25.247/koji/taskinfo?taskID=2590970
[[components.librsvg2.overlays]]
description = "Enable bundled Rust dependencies — AZL does not ship dav1d crate needed by rust-image+avif-native"
type = "spec-search-replace"
regex = '%global\s+bundled_rust_deps\s+0'
replacement = '%global bundled_rust_deps 1'
Comment thread
WithEnoughCoffee marked this conversation as resolved.

[[components.librsvg2.overlays]]
description = "Replace rust-toolset BR with cargo-rpm-macros — AZL does not ship rust-toolset metapackage"
type = "spec-search-replace"
regex = 'BuildRequires:\s+rust-toolset'
replacement = 'BuildRequires: cargo-rpm-macros'
Comment thread
WithEnoughCoffee marked this conversation as resolved.

[[components.librsvg2.overlays]]
description = "Disable AVIF support to remove dav1d dependency"
type = "spec-search-replace"
Expand Down
2 changes: 1 addition & 1 deletion locks/librsvg2.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
version = 1
import-commit = '020553e6ac8882267f982a33a68ec3c139f02457'
upstream-commit = '020553e6ac8882267f982a33a68ec3c139f02457'
input-fingerprint = 'sha256:2192e6a2924b3dd4dd83180fdb69c4e463dbaac7bb948a61badde02c853317cb'
input-fingerprint = 'sha256:c47097874f102e69e4f5dde69c02533bd55a49704ad3be8d2f9e665f15f5b83b'
resolution-input-hash = 'sha256:466421704711c4fd3c71f0b2ed715a0e61d49e3e26f3a2637fee755795849c8e'
9 changes: 6 additions & 3 deletions specs/l/librsvg2/librsvg2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## (rpmautospec version 0.8.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 7;
release_number = 8;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
Expand All @@ -18,7 +18,7 @@
%if 0%{?rhel}
%global bundled_rust_deps 1
%else
%global bundled_rust_deps 0
%global bundled_rust_deps 1
%endif

%global cairo_version 1.18.0
Expand Down Expand Up @@ -94,7 +94,7 @@ BuildRequires: pkgconfig(pangoft2)
BuildRequires: vala
BuildRequires: /usr/bin/rst2man
%if 0%{?bundled_rust_deps}
BuildRequires: rust-toolset
BuildRequires: cargo-rpm-macros
%else
BuildRequires: cargo-rpm-macros
%endif
Expand Down Expand Up @@ -198,6 +198,9 @@ rm -f %{buildroot}%{_pkgdocdir}/COMPILING.md

%changelog
## START: Generated by rpmautospec
* Fri Jun 05 2026 Autumn Nash <autumnnash@microsoft.com> - 2.61.0-8
- librsvg2: fix BR-unresolvable nightly failure

* Mon May 18 2026 Thien Trung Vuong <tvuong@microsoft.com> - 2.61.0-7
- fix(librsvg2): disable AVIF support to remove dav1d dependency

Expand Down
Loading