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-wayland-scanner] epel10: Update to version 0.31.11; Fixes RHBZ#2506296
Date: Sun, 16 Aug 2026 13:28:41 GMT	[thread overview]
Message-ID: <178688692149.1.2400802756263778572.rpms-rust-wayland-scanner-500e8ac712a5@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-wayland-scanner
Branch : epel10
Commit : 500e8ac712a5bece1a4a521da6a25285573938b7
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-16T14:33:09+02:00
Stats  : +4/-59 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-wayland-scanner/c/500e8ac712a5bece1a4a521da6a25285573938b7?branch=epel10

Log:
Update to version 0.31.11; Fixes RHBZ#2506296

---
diff --git a/.gitignore b/.gitignore
index 5cf8b80..ef47d02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@
 /wayland-scanner-0.31.7.crate
 /wayland-scanner-0.31.8.crate
 /wayland-scanner-0.31.10.crate
+/wayland-scanner-0.31.11.crate

diff --git a/rust-wayland-scanner.spec b/rust-wayland-scanner.spec
index 1de11c2..b8f3c50 100644
--- a/rust-wayland-scanner.spec
+++ b/rust-wayland-scanner.spec
@@ -5,22 +5,13 @@
 %global crate wayland-scanner
 
 Name:           rust-wayland-scanner
-Version:        0.31.10
+Version:        0.31.11
 Release:        %autorelease
 Summary:        Wayland Scanner for generating rust APIs from XML wayland protocol files
 
 License:        MIT
 URL:            https://crates.io/crates/wayland-scanner
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * Update quick-xml to 0.40 and similar (to v3),
-#   https://github.com/Smithay/wayland-rs/commit/ec2d932855593d48aa83c76820f3efbcfea86d39.
-#   This requires an accompanying source-code patch for quick-xml 0.40. Further
-#   allow quick-xml 0.41, https://github.com/Smithay/wayland-rs/pull/938.
-Patch:          wayland-scanner-fix-metadata.diff
-# * Source-code patch for API changes in quick-xml 0.40, from
-#   https://github.com/Smithay/wayland-rs/commit/ec2d932855593d48aa83c76820f3efbcfea86d39.
-Patch10:        wayland-scanner-0.31.10-quick-xml-0.40.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 %if %{with check}

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 968f8cc..6e9a117 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,22 +1,3 @@
-[package]
-cargo-toml-patch-comments = [
-    """\
-Update quick-xml to 0.40 and similar (to v3), \
-https://github.com/Smithay/wayland-rs/commit/ec2d932855593d48aa83c76820f3efbcfea86d39. \
-This requires an accompanying source-code patch for quick-xml 0.40. \
-Further allow quick-xml 0.41, https://github.com/Smithay/wayland-rs/pull/938.\
-""",
-]
-
-[[package.extra-patches]]
-number = 10
-file = "wayland-scanner-0.31.10-quick-xml-0.40.patch"
-comments = [
-    """\
-Source-code patch for API changes in quick-xml 0.40, from \
-https://github.com/Smithay/wayland-rs/commit/ec2d932855593d48aa83c76820f3efbcfea86d39.\
-""",
-]
-
 [requires]
 test = ["rustfmt"]
+

diff --git a/sources b/sources
index f36575d..c676a3c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (wayland-scanner-0.31.10.crate) = 43fdb04be69ebfe3b0c9565b01106d5305b6b07c606ddc6ebb4b93b7326a925f013674c55394d1541cab406cf79193e73a8eda810cb6a2ffd7a1f7571510e14f
+SHA512 (wayland-scanner-0.31.11.crate) = 104660a22cc715a401038ebe688bd6476b83ee8ede603cf954585c84c3403c205fa117556414571370b551128c6430eca5161af99837a3258e087b921472452b

diff --git a/wayland-scanner-0.31.10-quick-xml-0.40.patch b/wayland-scanner-0.31.10-quick-xml-0.40.patch
deleted file mode 100644
index 608a277..0000000
--- a/wayland-scanner-0.31.10-quick-xml-0.40.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/parse.rs b/src/parse.rs
-index 19c34860..ae03ab90 100644
---- a/src/parse.rs
-+++ b/src/parse.rs
-@@ -90,7 +90,7 @@ fn parse_protocol<R: BufRead>(mut reader: Reader<R>) -> Protocol {
-                                 Ok(Event::GeneralRef(byte_ref)) => {
-                                     if let Ok(Some(c)) = byte_ref.resolve_char_ref() {
-                                         copyright.push(c);
--                                    } else if let Ok(content) = byte_ref.xml_content() {
-+                                    } else if let Ok(content) = byte_ref.xml10_content() {
-                                         if let Some(s) =
-                                             quick_xml::escape::resolve_xml_entity(&content)
-                                         {

diff --git a/wayland-scanner-fix-metadata.diff b/wayland-scanner-fix-metadata.diff
deleted file mode 100644
index 18e6226..0000000
--- a/wayland-scanner-fix-metadata.diff
+++ /dev/null
@@ -1,15 +0,0 @@
---- wayland-scanner-0.31.10/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ wayland-scanner-0.31.10/Cargo.toml	2026-07-04T06:46:12.121330+00:00
-@@ -51,10 +51,10 @@
- version = "1.0.11"
- 
- [dependencies.quick-xml]
--version = "0.39"
-+version = ">=0.40,<0.42"
- 
- [dependencies.quote]
- version = "1.0"
- 
- [dev-dependencies.similar]
--version = "2"
-+version = "3"

                 reply	other threads:[~2026-08-16 13:28 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=178688692149.1.2400802756263778572.rpms-rust-wayland-scanner-500e8ac712a5@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