public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-cargo-c] epel10: Update to version 0.10.26+cargo-0.100.0; Fixes RHBZ#2523439
@ 2026-11-08 11:28 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-08 11:28 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-cargo-c
Branch : epel10
Commit : 0d3af599984a38bef9e5087d098062334ef485fb
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-11-08T12:24:15+01:00
Stats  : +18/-56 in 7 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-cargo-c/c/0d3af599984a38bef9e5087d098062334ef485fb?branch=epel10

Log:
Update to version 0.10.26+cargo-0.100.0; Fixes RHBZ#2523439

---
diff --git a/.gitignore b/.gitignore
index 01be1e0..cb96140 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
 /cargo-c-0.10.23+cargo-0.97.1.crate
 /cargo-c-0.10.24+cargo-0.98.0.crate
 /cargo-c-0.10.25+cargo-0.99.0.crate
+/cargo-c-0.10.26+cargo-0.100.0.crate

diff --git a/0001-Revert-object-v0.40-API-adaptations.patch b/0001-Revert-object-v0.40-API-adaptations.patch
deleted file mode 100644
index 42a6064..0000000
--- a/0001-Revert-object-v0.40-API-adaptations.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From f3dce1f0f9d157cfcffd915664de0c65cbf1c272 Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe@gmail.com>
-Date: Sun, 11 Oct 2026 16:59:24 +0200
-Subject: [PATCH] Revert object v0.40 API adaptations
-
-Partial revert of upstream commit:
-https://github.com/lu-zero/cargo-c/commit/a228fd9
----
- src/build.rs | 9 +--------
- 1 file changed, 1 insertion(+), 8 deletions(-)
-
-diff --git a/src/build.rs b/src/build.rs
-index 8fec76f..21ef892 100644
---- a/src/build.rs
-+++ b/src/build.rs
-@@ -170,14 +170,7 @@ fn write_def_file<W: std::io::Write>(dll_file: object::File, mut def_file: W) ->
-     writeln!(def_file, "EXPORTS")?;
- 
-     for export in dll_file.exports()? {
--        let export = export?;
--        let name = match export.name() {
--            object::read::NameOrOrdinal::Name(n) => n,
--            object::read::NameOrOrdinal::Ordinal(o) => {
--                anyhow::bail!("ordinal-only export {o} cannot be listed in a .def file")
--            }
--        };
--        def_file.write_all(name)?;
-+        def_file.write_all(export.name())?;
-         def_file.write_all(b"\n")?;
-     }
- 
--- 
-2.56.0
-

diff --git a/cargo-c-fix-metadata-auto.diff b/cargo-c-fix-metadata-auto.diff
index a0bb988..63bf986 100644
--- a/cargo-c-fix-metadata-auto.diff
+++ b/cargo-c-fix-metadata-auto.diff
@@ -1,11 +1,11 @@
---- cargo-c-0.10.25+cargo-0.99.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ cargo-c-0.10.25+cargo-0.99.0/Cargo.toml	2026-10-11T14:57:16.199180+00:00
+--- cargo-c-0.10.26+cargo-0.100.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ cargo-c-0.10.26+cargo-0.100.0/Cargo.toml	2026-11-08T11:02:47.709513+00:00
 @@ -13,7 +13,7 @@
  edition = "2021"
- rust-version = "1.96"
+ rust-version = "1.97"
  name = "cargo-c"
--version = "0.10.25+cargo-0.99.0"
-+version = "0.10.25"
+-version = "0.10.26+cargo-0.100.0"
++version = "0.10.26"
  authors = ["Luca Barbato <lu_zero@gentoo.org>"]
  build = false
  autolib = false

diff --git a/cargo-c-fix-metadata.diff b/cargo-c-fix-metadata.diff
index 0004d8f..1e0c34d 100644
--- a/cargo-c-fix-metadata.diff
+++ b/cargo-c-fix-metadata.diff
@@ -1,5 +1,5 @@
---- cargo-c-0.10.25+cargo-0.99.0/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ cargo-c-0.10.25+cargo-0.99.0/Cargo.toml	2026-10-11T14:57:25.119934+00:00
+--- cargo-c-0.10.26+cargo-0.100.0/Cargo.toml	2006-07-24T01:21:28+00:00
++++ cargo-c-0.10.26+cargo-0.100.0/Cargo.toml	2026-11-08T11:02:50.571029+00:00
 @@ -36,7 +36,6 @@
  
  [features]
@@ -8,12 +8,3 @@
  
  [lib]
  name = "cargo_c"
-@@ -106,7 +105,7 @@
- version = "0.4"
- 
- [dependencies.object]
--version = "0.40.0"
-+version = "0.39.0"
- features = [
-     "std",
-     "read_core",

diff --git a/rust-cargo-c.spec b/rust-cargo-c.spec
index 91e35c1..b303532 100644
--- a/rust-cargo-c.spec
+++ b/rust-cargo-c.spec
@@ -8,10 +8,10 @@
 %endif
 
 %global crate cargo-c
-%global crate_version 0.10.25+cargo-0.99.0
+%global crate_version 0.10.26+cargo-0.100.0
 
 Name:           rust-cargo-c
-Version:        0.10.25
+Version:        0.10.26
 Release:        %autorelease
 Summary:        Helper program to build and install c-like libraries
 
@@ -22,10 +22,8 @@ Source1:        macros.cargo-c
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          cargo-c-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
-# * temporarily downgrade object dependency from v0.40 to v0.39
 # * remove feature for building / statically linking vendored OpenSSL sources
 Patch:          cargo-c-fix-metadata.diff
-Patch:          0001-Revert-object-v0.40-API-adaptations.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 087adaf..2670850 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,6 +1,5 @@
 [package]
 cargo-toml-patch-comments = [
-    "temporarily downgrade object dependency from v0.40 to v0.39",
     "remove feature for building / statically linking vendored OpenSSL sources",
 ]
 extra-sources = [
@@ -9,6 +8,13 @@ extra-sources = [
 extra-files = [
     "%{_rpmmacrodir}/macros.cargo-c",
 ]
+preamble = """\
+# reduce debuginfo verbosity to work around OOM problems on 32-bit arches
+%ifarch %{ix86}
+%global debug_package %{nil}
+%global rustflags_debuginfo 0
+%endif
+"""
 
 [scripts]
 install.post = [

diff --git a/sources b/sources
index dc696a9..6a4fba8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cargo-c-0.10.25+cargo-0.99.0.crate) = 5780a2e51324b9c8fe5a239180b02011479f490109b8fe9e1f1ef267b8179a830db365333d6099e8a47fcad89268bd080121443ac52f10cf6d5685a27fe48f94
+SHA512 (cargo-c-0.10.26+cargo-0.100.0.crate) = e4ba04896f04ae06063504d211314c13b166ea10e26dad78d4e5d9d17bc3f4983f9429332bf1677a61e8655956c893b60abcf596ea6f4fca0627d6597830231f

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

only message in thread, other threads:[~2026-11-08 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 11:28 [rpms/rust-cargo-c] epel10: Update to version 0.10.26+cargo-0.100.0; Fixes RHBZ#2523439 Fabio Valentini

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