public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-anstyle-svg] epel10: Update to version 1.1.1; Fixes RHBZ#2501592
@ 2026-08-09 20:00 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-09 20:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-anstyle-svg
Branch : epel10
Commit : d20da8cb20053cafa02d593ab7ee34c2b4ddffb0
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-09T21:23:19+02:00
Stats  : +32/-2 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-anstyle-svg/c/d20da8cb20053cafa02d593ab7ee34c2b4ddffb0?branch=epel10

Log:
Update to version 1.1.1; Fixes RHBZ#2501592

---
diff --git a/.gitignore b/.gitignore
index d23753f..4eff352 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /anstyle-svg-0.1.12.crate
 /anstyle-svg-1.0.0.crate
 /anstyle-svg-1.1.0.crate
+/anstyle-svg-1.1.1.crate

diff --git a/0001-Drop-test-that-pulls-in-anstyle-hyperlink-as-path-de.patch b/0001-Drop-test-that-pulls-in-anstyle-hyperlink-as-path-de.patch
new file mode 100644
index 0000000..869edaa
--- /dev/null
+++ b/0001-Drop-test-that-pulls-in-anstyle-hyperlink-as-path-de.patch
@@ -0,0 +1,24 @@
+From 1f951be4c232d3cb03be3c06cc3d65c873b0df71 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Sun, 9 Aug 2026 21:10:51 +0200
+Subject: [PATCH] Drop test that pulls in anstyle-hyperlink as path dependency
+
+---
+ src/lib.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib.rs b/src/lib.rs
+index 975f470..6813320 100644
+--- a/src/lib.rs
++++ b/src/lib.rs
+@@ -652,6 +652,7 @@ fn sanitize_hyperlink(link: &str) -> String {
+ mod test {
+     use super::*;
+ 
++    #[cfg(any())]
+     #[test]
+     fn link_injection() {
+         let link = anstyle_hyperlink::Hyperlink::with_url("https://example.com/\">");
+-- 
+2.55.0
+

diff --git a/rust-anstyle-svg.spec b/rust-anstyle-svg.spec
index f5481fa..28e6fab 100644
--- a/rust-anstyle-svg.spec
+++ b/rust-anstyle-svg.spec
@@ -5,13 +5,14 @@
 %global crate anstyle-svg
 
 Name:           rust-anstyle-svg
-Version:        1.1.0
+Version:        1.1.1
 Release:        %autorelease
 Summary:        Convert ANSI escape codes to SVG
 
 License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/anstyle-svg
 Source:         %{crates_source}
+Patch2:         0001-Drop-test-that-pulls-in-anstyle-hyperlink-as-path-de.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index cf581d4..b4d6d31 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,7 @@
+[[package.extra-patches]]
+number = 2
+file = "0001-Drop-test-that-pulls-in-anstyle-hyperlink-as-path-de.patch"
+
 [tests]
 skip = ["'src/lib.rs'"]
 comments = [

diff --git a/sources b/sources
index 2c79a12..1c840c9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (anstyle-svg-1.1.0.crate) = 1b2e47f8edcf96d978901bb2fd2d83cc4cf2bacfbe6614e76aa1719297793f02eb5310bc36746b2cdbe80bad3a2e0082fb2e43e5077f5b0caab730891cffe125
+SHA512 (anstyle-svg-1.1.1.crate) = 41181d30694ed103653b06aba383b8ec02f914c05f6f2bcfb870349603678591a54c705f4946485b056641dc940169071304dec43f4252bd4bcf5d369dbc062f

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-09 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-09 20:00 [rpms/rust-anstyle-svg] epel10: Update to version 1.1.1; Fixes RHBZ#2501592 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox