public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-kdotool] f44: Update to version 0.2.3; Fixes RHBZ#2440130
@ 2026-06-11 20:00 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-11 20:00 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-kdotool
Branch : f44
Commit : da379eda4572aedd7b029c5807c6af7a09df0cdb
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-06-10T17:33:02+02:00
Stats  : +52/-29 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-kdotool/c/da379eda4572aedd7b029c5807c6af7a09df0cdb?branch=f44

Log:
Update to version 0.2.3; Fixes RHBZ#2440130

---
diff --git a/.gitignore b/.gitignore
index 2fa8cbc..7321bee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /kdotool-0.2.1.crate
+/kdotool-0.2.3.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index 4c2eb34..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-kdotool
-
-The rust-kdotool package

diff --git a/kdotool-fix-metadata.diff b/kdotool-fix-metadata.diff
deleted file mode 100644
index c727528..0000000
--- a/kdotool-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- kdotool-0.2.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ kdotool-0.2.1/Cargo.toml	2024-04-30T13:03:26.146147+00:00
-@@ -44,7 +44,7 @@
- version = "0.10.1"
- 
- [dependencies.handlebars]
--version = "4.5.0"
-+version = ">=4.5.0,<6"
- 
- [dependencies.lexopt]
- version = "0.3.0"

diff --git a/rust-kdotool.spec b/rust-kdotool.spec
index f8614f4..6b7e8f7 100644
--- a/rust-kdotool.spec
+++ b/rust-kdotool.spec
@@ -1,20 +1,16 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 
 %global crate kdotool
 
 Name:           rust-kdotool
-Version:        0.2.1
+Version:        0.2.3
 Release:        %autorelease
 Summary:        Xdotool-like tool to manipulate windows on KDE Wayland
 
 License:        Apache-2.0
 URL:            https://crates.io/crates/kdotool
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * relax handlebars dependency from ^4.5 to >=4.5,<6:
-#   https://github.com/jinliu/kdotool/pull/9
-Patch:          kdotool-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -27,13 +23,19 @@ A xdotool-like tool to manipulate windows on KDE Wayland.}
 Summary:        %{summary}
 # (MIT OR Apache-2.0) AND Unicode-DFS-2016
 # Apache-2.0
-# Apache-2.0 OR BSL-1.0
 # Apache-2.0 OR MIT
 # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
 # MIT
 # MIT OR Apache-2.0
 # Unlicense OR MIT
-License:        Apache-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
+License:        %{shrink:
+    Apache-2.0
+    AND MIT
+    AND Unicode-DFS-2016
+    AND (Apache-2.0 OR MIT)
+    AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
+    AND (Unlicense OR MIT)
+}
 # LICENSE.dependencies contains a full license breakdown
 
 %description -n %{crate} %{_description}
@@ -45,6 +47,45 @@ License:        Apache-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1
 %doc README.md
 %{_bindir}/kdotool
 
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files          devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+cli-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+cli-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "cli" feature of the "%{crate}" crate.
+
+%files       -n %{name}+cli-devel
+%ghost %{crate_instdir}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
deleted file mode 100644
index 6dee9d8..0000000
--- a/rust2rpm.toml
+++ /dev/null
@@ -1,5 +0,0 @@
-[package]
-cargo-toml-patch-comments = [
-    "relax handlebars dependency from ^4.5 to >=4.5,<6: https://github.com/jinliu/kdotool/pull/9",
-]
-

diff --git a/sources b/sources
index 95039fe..d06042b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (kdotool-0.2.1.crate) = c1d10d11509adcb6d81698151f7fb8730c5a8db92f0dcebc20b70ba22c78429a39483c1f9f7f3de957638b274dec77540dfc18f332c49b95d35dc8c93aff31d5
+SHA512 (kdotool-0.2.3.crate) = ff989b8fa7c6c92c551c7e164360db6cd2f33b70f37e16841a7d39573356af40b9848ea9d2d7b55bc03c21a3fbd9411927d5f8ff863624b94b4f3c7ea7b26682

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-11 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 20:00 [rpms/rust-kdotool] f44: Update to version 0.2.3; Fixes RHBZ#2440130 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox