public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-oo7] rawhide: Update to version 0.6.0; Fixes RHBZ#2390562
Date: Wed, 12 Aug 2026 20:26:50 GMT	[thread overview]
Message-ID: <178656641057.1.18216100218784094341.rpms-rust-oo7-65204b7d8338@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-oo7
Branch : rawhide
Commit : 65204b7d833869748d200203793a42beff25971f
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-08-11T22:21:40+02:00
Stats  : +18/-74 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-oo7/c/65204b7d833869748d200203793a42beff25971f?branch=rawhide

Log:
Update to version 0.6.0; Fixes RHBZ#2390562

---
diff --git a/.gitignore b/.gitignore
index 6c048b7..ba7d931 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /oo7-0.3.3.crate
 /oo7-0.4.3.crate
 /oo7-0.5.0.crate
+/oo7-0.6.0.crate

diff --git a/0001-Adapt-to-ashpd-v0.13-API-changes.patch b/0001-Adapt-to-ashpd-v0.13-API-changes.patch
deleted file mode 100644
index 6e6a5a5..0000000
--- a/0001-Adapt-to-ashpd-v0.13-API-changes.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-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
deleted file mode 100644
index 193a814..0000000
--- a/oo7-fix-metadata.diff
+++ /dev/null
@@ -1,23 +0,0 @@
---- 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 d540d45..d5d69d1 100644
--- a/rust-oo7.spec
+++ b/rust-oo7.spec
@@ -5,17 +5,13 @@
 %global crate oo7
 
 Name:           rust-oo7
-Version:        0.5.0
+Version:        0.6.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
 
@@ -38,6 +34,7 @@ use the "%{crate}" crate.
 %license %{crate_instdir}/LICENSE
 %doc %{crate_instdir}/README.md
 %{crate_instdir}/
+%exclude %{crate_instdir}/fixtures/
 
 %package     -n %{name}+default-devel
 Summary:        %{summary}
@@ -63,18 +60,6 @@ use the "async-std" feature of the "%{crate}" crate.
 %files       -n %{name}+async-std-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+local_tests-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+local_tests-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "local_tests" feature of the "%{crate}" crate.
-
-%files       -n %{name}+local_tests-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+native_crypto-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -151,10 +136,9 @@ use the "unstable" feature of the "%{crate}" crate.
 %if %{with check}
 %check
 # * skip tests that depend on an active DBus session
-%{cargo_test -- -- %{shrink:
-    --skip 'dbus::'
-    --skip file::tests::migrate_from_legacy
-}}
+%cargo_test -- --lib
+%cargo_test -- --doc
+%cargo_test -- --test file_unlocked_keyring
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 6208f7d..7c5e9c2 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,10 +1,17 @@
 [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",
-]
+# keyring files used as test input 
+exclude-crate-files = ["fixtures/"]
+
+[features]
+# missing dependency: oo7-macros
+hide = ["schema"]
 
 [tests]
-skip = ["'dbus::'", "file::tests::migrate_from_legacy"]
+run = [
+    "lib",
+    "doc",
+    "test:file_unlocked_keyring",
+]
 comments = ["skip tests that depend on an active DBus session"]
 

diff --git a/sources b/sources
index acf2625..92a1748 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (oo7-0.5.0.crate) = 283b1feddc9866a74a9eab409844acf8ebacd59c0e2c855bb53fff824f29649849c9ee2099a68155e49a478b5323ad340665a653df3db906787dd4c4a68065b9
+SHA512 (oo7-0.6.0.crate) = c22621299a22476f0a79e594ca7ccd056d72809ab18ebbd0fcf3a3873da7ec7cff60cb5eee2701c4c06cc3456fa4807b2ee936047a92e05a1b88fcb250f732a2

                 reply	other threads:[~2026-08-12 20:26 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=178656641057.1.18216100218784094341.rpms-rust-oo7-65204b7d8338@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --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