public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-hidapi] f45: Update to version 2.6.7; Fixes RHBZ#2525157
@ 2026-08-27 21:35 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-27 21:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-hidapi
Branch : f45
Commit : 5d4b1dbf4c95bb5345cb74e02f5fcd3c364e93e3
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-08-27T22:32:05+01:00
Stats  : +6/-29 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-hidapi/c/5d4b1dbf4c95bb5345cb74e02f5fcd3c364e93e3?branch=f45

Log:
Update to version 2.6.7; Fixes RHBZ#2525157

---
diff --git a/183.patch b/183.patch
deleted file mode 100644
index 7b3913f..0000000
--- a/183.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-From 0aa2049c2b06f660a56ba66ac0641339c5d6fd2e Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Mon, 18 May 2026 13:29:37 +0100
-Subject: [PATCH] Remove stray executable bit on a Rust source
-
----
- src/windows_native/mod.rs | 0
- 1 file changed, 0 insertions(+), 0 deletions(-)
- mode change 100755 => 100644 src/windows_native/mod.rs
-
-diff --git a/src/windows_native/mod.rs b/src/windows_native/mod.rs
-old mode 100755
-new mode 100644

diff --git a/hidapi-fix-metadata-auto.diff b/hidapi-fix-metadata-auto.diff
index 86f8b9e..5316f05 100644
--- a/hidapi-fix-metadata-auto.diff
+++ b/hidapi-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- hidapi-2.6.6/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ hidapi-2.6.6/Cargo.toml	2026-05-18T12:32:36.774226+00:00
+--- hidapi-2.6.7/Cargo.toml	2006-07-24T01:21:28+00:00
++++ hidapi-2.6.7/Cargo.toml	2026-08-27T21:31:21.657903+00:00
 @@ -90,14 +90,6 @@
  linux-static-libusb = []
  macos-shared-device = []

diff --git a/hidapi-fix-metadata.diff b/hidapi-fix-metadata.diff
index 0cb6c08..687ed97 100644
--- a/hidapi-fix-metadata.diff
+++ b/hidapi-fix-metadata.diff
@@ -1,5 +1,5 @@
---- hidapi-2.6.6/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ hidapi-2.6.6/Cargo.toml	2026-05-18T12:32:36.775412+00:00
+--- hidapi-2.6.7/Cargo.toml	2006-07-24T01:21:28+00:00
++++ hidapi-2.6.7/Cargo.toml	2026-08-27T21:31:21.659185+00:00
 @@ -71,26 +71,14 @@
  
  [features]

diff --git a/rust-hidapi.spec b/rust-hidapi.spec
index c41a3e2..f38399e 100644
--- a/rust-hidapi.spec
+++ b/rust-hidapi.spec
@@ -5,7 +5,7 @@
 %global crate hidapi
 
 Name:           rust-hidapi
-Version:        2.6.6
+Version:        2.6.7
 Release:        %autorelease
 Summary:        Rust-y wrapper around hidapi
 
@@ -19,8 +19,6 @@ Patch:          hidapi-fix-metadata-auto.diff
 # * remove features for statically linking with hidapi
 # * remove feature for basic-udev crate, currently not packaged
 Patch:          hidapi-fix-metadata.diff
-# * Remove stray executable bit on a Rust source
-Patch10:        https://github.com/ruabmbua/hidapi-rs/pull/183.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  pkgconfig(hidapi-hidraw)

diff --git a/rust2rpm.toml b/rust2rpm.toml
index adcb2ab..7e850fa 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -9,14 +9,6 @@ license-files.exclude = [
     "etc/hidapi/LICENSE*.txt",
 ]
 
-
-[[package.extra-patches]]
-number = 10
-file = "https://github.com/ruabmbua/hidapi-rs/pull/183.patch"
-comments = [
-    "Remove stray executable bit on a Rust source",
-]
-
 [requires]
 build = [
     "pkgconfig(hidapi-hidraw)",

diff --git a/sources b/sources
index 636550d..dd0e9b4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hidapi-2.6.6.crate) = 71564f5944420e6b6f12a6995dba2ee2f22c287dd7825d517fe857a0a28ea7532c2174575a843b5aa85fbee1e172b086836d353f7e60da418f7c28739470148e
+SHA512 (hidapi-2.6.7.crate) = 01f9c4afb1384eeeb4a162167782c906415a12dc577a159c2a66a9ffb5e0804b1be8d9fefb85c846e75932bd1ebe6e2d6f567421e6df99ef989857becf031d8a

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

only message in thread, other threads:[~2026-08-27 21:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27 21:35 [rpms/rust-hidapi] f45: Update to version 2.6.7; Fixes RHBZ#2525157 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