public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-ammonia] epel10.3: Update to version 4.1.8
Date: Tue, 27 Oct 2026 18:29:55 GMT [thread overview]
Message-ID: <179312579522.1.255579426896754432.rpms-rust-ammonia-5996ff834595@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-ammonia
Branch : epel10.3
Commit : 5996ff8345957aa75a03f48c74a68282b5f4719c
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-10-27T19:21:39+01:00
Stats : +21/-12 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-ammonia/c/5996ff8345957aa75a03f48c74a68282b5f4719c?branch=epel10.3
Log:
Update to version 4.1.8
---
diff --git a/.gitignore b/.gitignore
index ef06142..be215d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,9 @@
/ammonia-4.0.1.crate
/ammonia-4.0.2.crate
/ammonia-4.0.3.crate
+/ammonia-4.1.1.crate
+/ammonia-4.1.2.crate
+/ammonia-4.1.3.crate
+/ammonia-4.1.4.crate
+/ammonia-4.1.7.crate
+/ammonia-4.1.8.crate
diff --git a/ammonia-fix-metadata.diff b/ammonia-fix-metadata.diff
index 9956dd9..66385c7 100644
--- a/ammonia-fix-metadata.diff
+++ b/ammonia-fix-metadata.diff
@@ -1,11 +1,11 @@
---- ammonia-4.0.3/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ ammonia-4.0.3/Cargo.toml 2026-07-30T13:32:34.179018+00:00
+--- ammonia-4.1.8/Cargo.toml 2006-07-24T01:21:28+00:00
++++ ammonia-4.1.8/Cargo.toml 2026-10-22T13:24:16.525475+00:00
@@ -50,7 +50,7 @@
path = "tests/version-numbers.rs"
- [dependencies.html5ever]
--version = "0.27"
-+version = "0.29"
+ [dependencies.cssparser]
+-version = "0.37.0"
++version = ">=0.35,<0.38"
+ default-features = false
- [dependencies.maplit]
- version = "1.0"
+ [dependencies.html5ever]
diff --git a/rust-ammonia.spec b/rust-ammonia.spec
index dcd5dbd..5fa0270 100644
--- a/rust-ammonia.spec
+++ b/rust-ammonia.spec
@@ -5,7 +5,7 @@
%global crate ammonia
Name: rust-ammonia
-Version: 4.0.3
+Version: 4.1.8
Release: %autorelease
Summary: HTML Sanitization
@@ -13,10 +13,8 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/ammonia
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * bump html5ever dependency from 0.27 to 0.29:
-# https://github.com/rust-ammonia/ammonia/commit/50d02c6
+# * relax cssparser dependency to allow 0.35..=0.37
Patch: ammonia-fix-metadata.diff
-Patch: 50d02c6-backport.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..fb45633
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,5 @@
+[package]
+cargo-toml-patch-comments = [
+ "relax cssparser dependency to allow 0.35..=0.37",
+]
+
diff --git a/sources b/sources
index b5b6ff5..69ca553 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ammonia-4.0.3.crate) = 34b18301260639110a92253b4667e0b5413cf0875315d184a65704c399b0370528be07d077884e9ae15b099e915a757e88d7e548be2605639e1ef3b52a16215a
+SHA512 (ammonia-4.1.8.crate) = 9d4d4402a01e175d0433653edd3184330531837b937320dd61b885e9e6bcf37404f61a76bc6db580d65a2cdd1df656a3528f285f79fbb35455564d6fdccd45df
reply other threads:[~2026-10-27 18:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179312579522.1.255579426896754432.rpms-rust-ammonia-5996ff834595@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox