public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-relm4-icons] f44: Use rust2rpm.toml more comprehensively
Date: Tue, 06 Oct 2026 14:40:19 GMT	[thread overview]
Message-ID: <179129761906.1.1447102458168273498.rpms-rust-relm4-icons-cd71840121b1@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-relm4-icons
            Branch : f44
            Commit : cd71840121b1660f363909f3316c354d6f6a78ec
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-05T21:12:19+01:00
            Stats  : +27/-3 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-relm4-icons/c/cd71840121b1660f363909f3316c354d6f6a78ec?branch=f44

            Log:
            Use rust2rpm.toml more comprehensively

[skip changelog]

---
diff --git a/relm4-icons-fix-metadata.diff b/relm4-icons-fix-metadata.diff
index 479b21b..32615b4 100644
--- a/relm4-icons-fix-metadata.diff
+++ b/relm4-icons-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- relm4-icons-0.9.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ relm4-icons-0.9.0/Cargo.toml	2026-03-04T12:56:41.073492+00:00
++++ relm4-icons-0.9.0/Cargo.toml	2026-10-05T19:56:19.011554+00:00
 @@ -25,7 +25,7 @@
      "elm",
  ]

diff --git a/rust-relm4-icons.spec b/rust-relm4-icons.spec
index 716eb6c..f82f3ff 100644
--- a/rust-relm4-icons.spec
+++ b/rust-relm4-icons.spec
@@ -12,9 +12,11 @@ Summary:        Icons for gtk-rs and Relm4 applications
 License:        (Apache-2.0 OR MIT) AND CC0-1.0 AND MIT
 URL:            https://crates.io/crates/relm4-icons
 Source:         %{crates_source}
-# https://github.com/Relm4/icons/pull/21
+# * https://github.com/Relm4/icons/pull/21
 Source100:      LICENSE-CC0-1.0
 # Manually created patch for downstream crate metadata changes
+# * Fix License, https://github.com/Relm4/icons/pull/21
+# * Update gvdb build-dep to 0.9
 Patch:          relm4-icons-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -35,8 +37,8 @@ use the "%{crate}" crate.
 
 %files          devel
 %license %{crate_instdir}/LICENSE-APACHE
-%license %{crate_instdir}/LICENSE-MIT
 %license %{crate_instdir}/LICENSE-CC0-1.0
+%license %{crate_instdir}/LICENSE-MIT
 %doc %{crate_instdir}/README.md
 %doc %{crate_instdir}/icons16.md
 %doc %{crate_instdir}/icons32.md

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 0bd00b6..4172911 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,25 @@
+[package]
+cargo-toml-patch-comments = [
+    "Fix License, https://github.com/Relm4/icons/pull/21",
+    "Update gvdb build-dep to 0.9",
+]
+license-files.include = [
+    "LICENSE-CC0-1.0",
+]
+license-files.exclude = [
+    "icons/icon-development-kit/license-cc-symbolic.svg",
+    "icons/icon-development-kit/license-copyleft-symbolic.svg",
+    "icons/icon-development-kit/license-copyright-symbolic.svg",
+    "icons/icon-development-kit/license-symbolic.svg",
+]
+
+[[package.extra-sources]]
+number = 100
+file = "LICENSE-CC0-1.0"
+comments = [
+    "https://github.com/Relm4/icons/pull/21",
+]
+
 [scripts.prep]
 post = [
     "# LICENSE-CC0-1.0",

                 reply	other threads:[~2026-10-06 14:40 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=179129761906.1.1447102458168273498.rpms-rust-relm4-icons-cd71840121b1@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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