public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-freedesktop-icons] epel10: Update to 0.4.0; Fixes: RHBZ#2360052
Date: Fri, 25 Sep 2026 10:12:08 GMT [thread overview]
Message-ID: <179033112872.1.10959144057378093683.rpms-rust-freedesktop-icons-c5cfc21df5d8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-freedesktop-icons
Branch : epel10
Commit : c5cfc21df5d8f1bb6558d004b2f4645b0a065a1e
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2025-04-24T12:50:07-07:00
Stats : +6/-41 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-freedesktop-icons/c/c5cfc21df5d8f1bb6558d004b2f4645b0a065a1e?branch=epel10
Log:
Update to 0.4.0; Fixes: RHBZ#2360052
---
diff --git a/.gitignore b/.gitignore
index 2e9a60e..27a6d35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/freedesktop-icons-0.3.1.crate
+/freedesktop-icons-0.4.0.crate
diff --git a/25.patch b/25.patch
deleted file mode 100644
index 57c95cf..0000000
--- a/25.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 983bf5693f449da080a9837bfbbcd62681546e89 Mon Sep 17 00:00:00 2001
-From: Davide Cavalca <dcavalca@fedoraproject.org>
-Date: Thu, 20 Feb 2025 09:58:55 -0800
-Subject: [PATCH] Fix doc tests
-
----
- src/lib.rs | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/lib.rs b/src/lib.rs
-index 5f72649..a0d5bb7 100644
---- a/src/lib.rs
-+++ b/src/lib.rs
-@@ -68,7 +68,7 @@ mod theme;
- /// # fn main() {
- /// use freedesktop_icons::list_themes;
- ///
--/// let themes: Vec<&str> = list_themes();
-+/// let themes: Vec<String> = list_themes();
- ///
- /// assert_eq!(themes, vec![
- /// "Adwaita", "Arc", "Breeze Light", "HighContrast", "Papirus", "Papirus-Dark",
-@@ -112,7 +112,7 @@ pub fn list_themes() -> Vec<String> {
- ///
- /// let theme = default_theme_gtk();
- ///
--/// assert_eq!(Some("Adwaita"), theme);
-+/// assert_eq!(Some("Adwaita"), theme.as_deref());
- /// ```
- pub fn default_theme_gtk() -> Option<String> {
- // Calling gsettings is the simplest way to retrieve the default icon theme without adding
diff --git a/freedesktop-icons-fix-metadata.diff b/freedesktop-icons-fix-metadata.diff
index 52d1a09..6e27692 100644
--- a/freedesktop-icons-fix-metadata.diff
+++ b/freedesktop-icons-fix-metadata.diff
@@ -1,6 +1,6 @@
---- freedesktop-icons-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ freedesktop-icons-0.3.1/Cargo.toml 2025-02-20T18:03:36.411213+00:00
-@@ -60,9 +60,6 @@
+--- freedesktop-icons-0.4.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ freedesktop-icons-0.4.0/Cargo.toml 2025-04-24T18:45:23.539336+00:00
+@@ -64,9 +64,6 @@
[dependencies.xdg]
version = "2.5.2"
diff --git a/rust-freedesktop-icons.spec b/rust-freedesktop-icons.spec
index 5480cb1..4c0368a 100644
--- a/rust-freedesktop-icons.spec
+++ b/rust-freedesktop-icons.spec
@@ -5,7 +5,7 @@
%global crate freedesktop-icons
Name: rust-freedesktop-icons
-Version: 0.3.1
+Version: 0.4.0
Release: %autorelease
Summary: Freedesktop Icons lookup crate
@@ -15,8 +15,6 @@ Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Drop unneeded criterion dependency
Patch: freedesktop-icons-fix-metadata.diff
-# * Fix doc tests
-Patch2: https://github.com/oknozor/freedesktop-icons/pull/25.patch
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5938009..0e9f529 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,9 +2,6 @@
cargo-toml-patch-comments = [
"Drop unneeded criterion dependency",
]
-extra-patches = [
- { "number" = 2, "file" = "https://github.com/oknozor/freedesktop-icons/pull/25.patch", comments = ["Fix doc tests"] },
-]
[tests]
skip = [
diff --git a/sources b/sources
index 39de1fc..0676f38 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (freedesktop-icons-0.3.1.crate) = 2ccc026a717b0b6aab7f9dc8209e88f7e709996237270b18c4d8e72571ed72a6b57f881cc6080914c96ba787056c1ab98f1e1b952c027b82b7c14837d368b33a
+SHA512 (freedesktop-icons-0.4.0.crate) = aeebe2b78cc0f7197cab9c5a7d4ff3487e3f36956ff11172491355c293dd66a5153908e8cd249ef2c0da316f36d4dd546d255c2636b6976ed62cbbb09f3d90dc
reply other threads:[~2026-09-25 10:12 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=179033112872.1.10959144057378093683.rpms-rust-freedesktop-icons-c5cfc21df5d8@fedoraproject.org \
--to=dcavalca@fedoraproject.org \
--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