public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-oo7] f45: Update to version 0.5.0
@ 2026-08-12 20:27 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-12 20:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-oo7
Branch : f45
Commit : 367a4bcc2099e0962769a6a67c2cbcedab43e760
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-11T22:21:40+02:00
Stats : +64/-6 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-oo7/c/367a4bcc2099e0962769a6a67c2cbcedab43e760?branch=f45
Log:
Update to version 0.5.0
---
diff --git a/.gitignore b/.gitignore
index 2586d5e..6c048b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/oo7-0.3.2.crate
/oo7-0.3.3.crate
/oo7-0.4.3.crate
+/oo7-0.5.0.crate
diff --git a/0001-Adapt-to-ashpd-v0.13-API-changes.patch b/0001-Adapt-to-ashpd-v0.13-API-changes.patch
new file mode 100644
index 0000000..6e6a5a5
--- /dev/null
+++ b/0001-Adapt-to-ashpd-v0.13-API-changes.patch
@@ -0,0 +1,25 @@
+From 5c5657b9a373444efb3e5fd8757f2eb4b31a2a28 Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Wed, 1 Jul 2026 12:11:10 +0200
+Subject: [PATCH] Adapt to ashpd v0.13 API changes
+
+---
+ src/keyring.rs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/keyring.rs b/src/keyring.rs
+index 2668b76..b353e6d 100644
+--- a/src/keyring.rs
++++ b/src/keyring.rs
+@@ -41,7 +41,7 @@ impl Keyring {
+ }
+
+ async fn new_inner(auto_delete_broken_items: bool) -> Result<Self> {
+- let is_sandboxed = ashpd::is_sandboxed().await;
++ let is_sandboxed = ashpd::is_sandboxed();
+ if is_sandboxed {
+ #[cfg(feature = "tracing")]
+ tracing::debug!("Application is sandboxed, using the file backend");
+--
+2.54.0
+
diff --git a/oo7-fix-metadata.diff b/oo7-fix-metadata.diff
new file mode 100644
index 0000000..193a814
--- /dev/null
+++ b/oo7-fix-metadata.diff
@@ -0,0 +1,23 @@
+--- oo7-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ oo7-0.5.0/Cargo.toml 2026-07-01T10:26:01.310526+00:00
+@@ -65,7 +65,7 @@
+ "dep:async-lock",
+ "dep:blocking",
+ "dep:futures-lite",
+- "ashpd/async-std",
++ "ashpd/async-io",
+ ]
+ default = [
+ "local_tests",
+@@ -122,8 +122,9 @@
+ optional = true
+
+ [dependencies.ashpd]
+-version = "0.12"
+-default-features = false
++version = "0.13"
++default-features = false
++features = ["secret"]
+
+ [dependencies.async-fs]
+ version = "2.1.3"
diff --git a/rust-oo7.spec b/rust-oo7.spec
index 55d82df..d540d45 100644
--- a/rust-oo7.spec
+++ b/rust-oo7.spec
@@ -1,17 +1,21 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
%global crate oo7
Name: rust-oo7
-Version: 0.4.3
+Version: 0.5.0
Release: %autorelease
Summary: Library to access freedesktop.org D-Bus Secret Service
License: MIT
URL: https://crates.io/crates/oo7
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * bump ashpd dependency from 0.12 to 0.13 and enable 'secret' feature
+Patch: oo7-fix-metadata.diff
+Patch: 0001-Adapt-to-ashpd-v0.13-API-changes.patch
BuildRequires: cargo-rpm-macros >= 24
@@ -147,8 +151,10 @@ use the "unstable" feature of the "%{crate}" crate.
%if %{with check}
%check
# * skip tests that depend on an active DBus session
-# * run tests single-threaded to avoid race conditions
-%cargo_test -- -- --test-threads 1 --skip 'dbus::'
+%{cargo_test -- -- %{shrink:
+ --skip 'dbus::'
+ --skip file::tests::migrate_from_legacy
+}}
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 4100f2a..6208f7d 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,7 +1,10 @@
[package]
summary = "Library to access freedesktop.org D-Bus Secret Service"
+cargo-toml-patch-comments = [
+ "bump ashpd dependency from 0.12 to 0.13 and enable 'secret' feature",
+]
[tests]
-skip = ["'dbus::'"]
+skip = ["'dbus::'", "file::tests::migrate_from_legacy"]
comments = ["skip tests that depend on an active DBus session"]
diff --git a/sources b/sources
index cebd619..acf2625 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (oo7-0.4.3.crate) = a0eb1fa6f0227436fc3d55d27893c946819b79c848245f3849424dd0ce1681094539d69cb206cf29f18400a37c18b68ed2f8c376a90802b7d8b6e518636d2ed8
+SHA512 (oo7-0.5.0.crate) = 283b1feddc9866a74a9eab409844acf8ebacd59c0e2c855bb53fff824f29649849c9ee2099a68155e49a478b5323ad340665a653df3db906787dd4c4a68065b9
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 20:27 [rpms/rust-oo7] f45: Update to version 0.5.0 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox