public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-relm4-icons] f44: Use rust2rpm.toml more comprehensively
@ 2026-10-06 14:40 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-06 14:40 UTC (permalink / raw)
To: git-commits
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",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-06 14:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-06 14:40 [rpms/rust-relm4-icons] f44: Use rust2rpm.toml more comprehensively Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox