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-tiny-dfr] epel10: Update to 0.2.0; Fixes: RHBZ#2249929
Date: Fri, 25 Sep 2026 10:38:45 GMT	[thread overview]
Message-ID: <179033272592.1.9259770865705797273.rpms-rust-tiny-dfr-5af2cd607eab@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tiny-dfr
Branch : epel10
Commit : 5af2cd607eab1766b303efd1600ad6a3593fd174
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2024-01-19T08:04:18-08:00
Stats  : +32/-8 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-tiny-dfr/c/5af2cd607eab1766b303efd1600ad6a3593fd174?branch=epel10

Log:
Update to 0.2.0; Fixes: RHBZ#2249929

---
diff --git a/.gitignore b/.gitignore
index 243abf1..dc0b455 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /tiny-dfr-0.1.1.crate
 /tiny-dfr-0.1.2.crate
+/tiny-dfr-0.2.0.crate

diff --git a/rust-tiny-dfr.spec b/rust-tiny-dfr.spec
index 3be9bca..2436b31 100644
--- a/rust-tiny-dfr.spec
+++ b/rust-tiny-dfr.spec
@@ -1,19 +1,22 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
 %bcond_without check
 
 %global crate tiny-dfr
 
 Name:           rust-tiny-dfr
-Version:        0.1.2
+Version:        0.2.0
 Release:        %autorelease
 Summary:        Most basic dynamic function row daemon possible
 
 License:        MIT AND Apache-2.0
 URL:            https://crates.io/crates/tiny-dfr
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * bump drm to 0.11.1:
+#   https://github.com/WhatAmISupposedToPutHere/tiny-dfr/pull/30
+Patch:          tiny-dfr-fix-metadata.diff
 
-BuildRequires:  rust-packaging >= 23
-BuildRequires:  systemd-rpm-macros
+BuildRequires:  cargo-rpm-macros >= 24
 
 # Due to rust-drm
 ExcludeArch:    ppc64le s390x
@@ -25,8 +28,8 @@ The most basic dynamic function row daemon possible.}
 
 %package     -n %{crate}
 Summary:        %{summary}
-# See LICENSE.dependencies for the full breakdown
 License:        Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-or-later AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
+# LICENSE.dependencies contains a full license breakdown
 
 %description -n %{crate} %{_description}
 
@@ -39,13 +42,16 @@ License:        Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-or-
 %{_datadir}/%{crate}/
 %{_udevrulesdir}/*.rules
 %{_unitdir}/%{crate}.service
+%dir %{_sysconfdir}/%{crate}/
+%config(noreplace) %ghost %{_sysconfdir}/%{crate}/config.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires
 %cargo_generate_buildrequires
+echo 'systemd-rpm-macros'
 
 %build
 %cargo_build
@@ -55,7 +61,11 @@ License:        Apache-2.0 AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-or-
 %install
 %cargo_install
 
-install -Dpm0644 -t %{buildroot}%{_datadir}/%{crate} share/%{crate}/*.svg
+install -Dpm0644 -t %{buildroot}%{_datadir}/%{crate} \
+  share/%{crate}/*.svg \
+  share/%{crate}/config.toml
+install -Ddpm0755 %{buildroot}%{_sysconfdir}/%{crate}
+touch %{buildroot}%{_sysconfdir}/%{crate}/config.toml
 install -Dpm0644 -t %{buildroot}%{_udevrulesdir} etc/udev/rules.d/*.rules
 install -Dpm0644 -t %{buildroot}%{_unitdir} etc/systemd/system/%{crate}.service
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..d7ad328
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,2 @@
+[requires]
+build = ["systemd-rpm-macros"]

diff --git a/sources b/sources
index 31a65a0..92f16fe 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tiny-dfr-0.1.2.crate) = 15a53fdad7e64752ab79ed828489e8d759cd978911bb4792087b227e067821827a961f3cdd69f357162d7dbd62bcca8d19c8dcec1ad6f6c0c5147167bb7c9a03
+SHA512 (tiny-dfr-0.2.0.crate) = 83454f63be0db2b0f80570a3440319a5f175e9eb64b711915ab0dc86c7eb4c6ea5c2c284efb89923307ac44fc677ec249d5c135a985f3849227aa80350ca8c70

diff --git a/tiny-dfr-fix-metadata.diff b/tiny-dfr-fix-metadata.diff
new file mode 100644
index 0000000..86b454d
--- /dev/null
+++ b/tiny-dfr-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- tiny-dfr-0.2.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ tiny-dfr-0.2.0/Cargo.toml	2024-01-18T05:17:46.264316+00:00
+@@ -28,7 +28,7 @@
+ default-features = false
+ 
+ [dependencies.drm]
+-version = "0.10.0"
++version = "0.11.1"
+ 
+ [dependencies.freetype-rs]
+ version = "0.32"

                 reply	other threads:[~2026-09-25 10:38 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=179033272592.1.9259770865705797273.rpms-rust-tiny-dfr-5af2cd607eab@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