public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tame-index] epel10: Update to version 0.10.0; Fixes RHBZ#2248148
@ 2026-09-21 15:11 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-21 15:11 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-tame-index
Branch : epel10
Commit : affec5c3177c56eaf459e779cc582919567c3aa1
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-04-15T14:03:31+02:00
Stats : +30/-94 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tame-index/c/affec5c3177c56eaf459e779cc582919567c3aa1?branch=epel10
Log:
Update to version 0.10.0; Fixes RHBZ#2248148
---
diff --git a/.gitignore b/.gitignore
index b6a80b0..d45091c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tame-index-0.7.2.crate
+/tame-index-0.10.0.crate
diff --git a/gix-compatibility.patch b/gix-compatibility.patch
deleted file mode 100644
index de7dd12..0000000
--- a/gix-compatibility.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff --git a/src/index/git_remote.rs b/src/index/git_remote.rs
-index 5726c61..b21ce67 100644
---- a/src/index/git_remote.rs
-+++ b/src/index/git_remote.rs
-@@ -412,7 +412,7 @@ pub enum GitError {
- #[error(transparent)]
- ReferenceLookup(#[from] Box<gix::reference::find::existing::Error>),
- #[error(transparent)]
-- BlobLookup(#[from] Box<gix::odb::find::existing::Error>),
-+ BlobLookup(#[from] Box<gix::object::find::existing::Error>),
- #[error(transparent)]
- RemoteLookup(#[from] Box<gix::remote::find::existing::Error>),
- #[error(transparent)]
-
-diff --git a/tests/git.rs b/tests/git.rs
-index eb74313..be94214 100644
---- a/tests/git.rs
-+++ b/tests/git.rs
-@@ -80,7 +80,7 @@ impl TreeUpdateBuilder {
- repo: &gix::Repository,
- ) -> gix::ObjectId {
- use gix::objs::{
-- tree::{Entry, EntryMode},
-+ tree::{Entry, EntryKind},
- Tree,
- };
-
-@@ -94,7 +94,7 @@ impl TreeUpdateBuilder {
- match entry {
- UpdateEntry::Blob(oid) => {
- nt.entries.push(Entry {
-- mode: EntryMode::Blob,
-+ mode: EntryKind::Blob.into(),
- oid,
- filename,
- });
-@@ -102,7 +102,7 @@ impl TreeUpdateBuilder {
- UpdateEntry::Tree(ut) => {
- // Check if there is already an existing tree
- let current_tree = tree_ref.entries.iter().find_map(|tre| {
-- if tre.filename == name && tre.mode == EntryMode::Tree {
-+ if tre.filename == name && tre.mode.is_tree() {
- Some(repo.find_object(tre.oid).unwrap().into_tree())
- } else {
- None
-@@ -112,7 +112,7 @@ impl TreeUpdateBuilder {
-
- let oid = Self::create_inner(ut, ¤t_tree, repo);
- nt.entries.push(Entry {
-- mode: EntryMode::Tree,
-+ mode: EntryKind::Tree.into(),
- oid,
- filename,
- });
diff --git a/rust-tame-index.spec b/rust-tame-index.spec
index cd560b7..1f351d2 100644
--- a/rust-tame-index.spec
+++ b/rust-tame-index.spec
@@ -1,26 +1,20 @@
-# Generated by rust2rpm 25
+# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate tame-index
Name: rust-tame-index
-Version: 0.7.2
+Version: 0.10.0
Release: %autorelease
Summary: Access to local and remote cargo registry indices
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/tame-index
Source: %{crates_source}
-# Automatically generated patch to strip dependencies and normalize metadata
-Patch: tame-index-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * remove unused benchmark-only tiny-bench dev-dependency
-# * bump optional gix dependency from 0.54 to 0.61
Patch: tame-index-fix-metadata.diff
-# gitoxide ccompatibility patch
-# * backport 60fd14e7d8bb3bc1b4082f50a2f36f91dcfb8b1e
-Patch: gix-compatibility.patch
BuildRequires: cargo-rpm-macros >= 24
@@ -136,7 +130,7 @@ use the "sparse" feature of the "%{crate}" crate.
%check
# * skip tests that require a cargo cache directory
# * skip tests that require internet connectivity
-%cargo_test -a -- -- --exact --skip builds_local_registry --skip can_take_shared_lock --skip clones_new --skip downloads_and_verifies --skip end_to_end --skip fetch_invalidates_cache --skip non_main_local_branch --skip opens_existing --skip parses_current_cargo_cache --skip serializes_current_cargo_cache --skip updates_cache --skip wait_lock_times_out --skip waits_lock
+%cargo_test -a -- -- --exact --skip serializes_current_cargo_cache --skip parses_current_cargo_cache --skip can_take_shared_lock --skip wait_lock_times_out --skip waits_lock --skip clones_new --skip fetch_invalidates_cache --skip non_main_local_branch --skip opens_existing --skip updates_cache --skip builds_local_registry --skip downloads_and_verifies --skip remote::end_to_end --skip remote::reuses_connection --skip remote::async_reuses_connection
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 5e3e740..8fc4baf 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,21 +1,33 @@
+[package]
+cargo-toml-patch-comments = [
+ "remove unused benchmark-only tiny-bench dev-dependency",
+]
+
[features]
enable-all = true
[tests]
skip = [
- "builds_local_registry",
+ # cache
+ "serializes_current_cargo_cache",
+ "parses_current_cargo_cache",
+ # flock
"can_take_shared_lock",
+ "wait_lock_times_out",
+ "waits_lock",
+ # git
"clones_new",
- "downloads_and_verifies",
- "end_to_end",
"fetch_invalidates_cache",
"non_main_local_branch",
"opens_existing",
- "parses_current_cargo_cache",
- "serializes_current_cargo_cache",
"updates_cache",
- "wait_lock_times_out",
- "waits_lock",
+ # local
+ "builds_local_registry",
+ "downloads_and_verifies",
+ # sparse
+ "remote::end_to_end",
+ "remote::reuses_connection",
+ "remote::async_reuses_connection",
]
skip-exact = true
comments = [
diff --git a/sources b/sources
index aa6e47e..a16072c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tame-index-0.7.2.crate) = 5c979dfbd809d33f96e59c7c22d3ffbd11d2ded712f44edf15bf8e26ca87f6af15f67b02e6d0326c11d695e699f3a3a20fd90aa06491c52b946791441b0177ce
+SHA512 (tame-index-0.10.0.crate) = a0ce4706e1dc04928652e31e4d9316c184dd2d2e15e7b191b3641329e148a0be796422bda19fa075d5cb5250a90e4139644ed2e4200e9ce7ec4cd9a5ad6e0c6b
diff --git a/tame-index-fix-metadata-auto.diff b/tame-index-fix-metadata-auto.diff
deleted file mode 100644
index 2e515df..0000000
--- a/tame-index-fix-metadata-auto.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- tame-index-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ tame-index-0.7.2/Cargo.toml 2023-10-28T14:28:12.425084+00:00
-@@ -155,5 +155,3 @@
- [target."cfg(unix)".dependencies.libc]
- version = "0.2"
-
--[target."cfg(windows)".dependencies.windows-targets]
--version = "0.48"
diff --git a/tame-index-fix-metadata.diff b/tame-index-fix-metadata.diff
index d3cae94..b4b43a8 100644
--- a/tame-index-fix-metadata.diff
+++ b/tame-index-fix-metadata.diff
@@ -1,26 +1,17 @@
---- tame-index-0.7.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ tame-index-0.7.2/Cargo.toml 2023-10-28T14:28:30.094135+00:00
-@@ -31,11 +31,6 @@
+--- tame-index-0.10.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ tame-index-0.10.0/Cargo.toml 2024-04-15T11:57:06.658935+00:00
+@@ -30,11 +30,6 @@
+
[profile.dev.package.sha2]
opt-level = 3
-
+-
-[[bench]]
-name = "sparse"
-harness = false
-required-features = ["sparse"]
--
+
[dependencies.bytes]
version = "1.4"
- optional = true
-@@ -48,7 +43,7 @@
- optional = true
-
- [dependencies.gix]
--version = "0.54"
-+version = "0.61"
- features = ["blocking-http-transport-reqwest"]
- optional = true
- default-features = false
@@ -127,9 +122,6 @@
[dev-dependencies.tempfile]
version = "3.6"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-21 15:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21 15:11 [rpms/rust-tame-index] epel10: Update to version 0.10.0; Fixes RHBZ#2248148 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox