public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-crypto-auditing] f44: Revert "Update to 0.3.0"
@ 2026-09-06 20:34 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-06 20:34 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-crypto-auditing
            Branch : f44
            Commit : 885f2e8a6ca2eb68dd0f07c6e1e13c6ac6033830
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-06T21:32:46+01:00
            Stats  : +31/-18 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-crypto-auditing/c/885f2e8a6ca2eb68dd0f07c6e1e13c6ac6033830?branch=f44

            Log:
            Revert "Update to 0.3.0"

This reverts commit 54569540d80df9289415a52e6cf5966d78566109.

---
diff --git a/.gitignore b/.gitignore
index 152be8c..0c7e69c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,3 @@
 /crypto-auditing-0.2.2.crate
 /crypto-auditing-0.2.3.crate
 /crypto-auditing-0.2.4.crate
-/crypto-auditing-0.3.0.crate

diff --git a/crypto-auditing-fix-metadata.diff b/crypto-auditing-fix-metadata.diff
index 8905a27..4a426c7 100644
--- a/crypto-auditing-fix-metadata.diff
+++ b/crypto-auditing-fix-metadata.diff
@@ -1,11 +1,8 @@
---- crypto-auditing-0.3.0/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ crypto-auditing-0.3.0/Cargo.toml	2026-03-04T02:58:39.286567+00:00
-@@ -54,7 +54,7 @@
- features = ["hex"]
+--- crypto-auditing-0.2.3/Cargo.toml	1970-01-01T00:00:01+00:00
++++ crypto-auditing-0.2.3/Cargo.toml	2025-10-14T10:05:28.020234+00:00
+@@ -88,4 +88,4 @@
+ ]
  
- [dependencies.sysinfo]
--version = "0.38"
-+version = "0.37"
- 
- [dependencies.thiserror]
- version = "1.0"
+ [build-dependencies.bindgen]
+-version = "0.63"
++version = "0.72"

diff --git a/rust-crypto-auditing.spec b/rust-crypto-auditing.spec
index bbd0816..709096b 100644
--- a/rust-crypto-auditing.spec
+++ b/rust-crypto-auditing.spec
@@ -1,19 +1,18 @@
-# Generated by rust2rpm 28
+# Generated by rust2rpm 27
 %bcond check 1
 %global debug_package %{nil}
 
 %global crate crypto-auditing
 
 Name:           rust-crypto-auditing
-Version:        0.3.0
-Release:        %autorelease
+Version:        0.2.4
+Release:        %autorelease -b 2
 Summary:        Client library for crypto-auditing project
 
 License:        GPL-3.0-or-later
 URL:            https://crates.io/crates/crypto-auditing
 Source:         %{crates_source}
-# Manually created patch for downstream crate metadata changes
-Patch:          crypto-auditing-fix-metadata.diff
+Patch:          rust-crypto-auditing-0.2.4-types32.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 
@@ -49,7 +48,7 @@ use the "default" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version} -p2
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..8b50fa8
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,18 @@
+[package]
+cargo-toml-patch-comments = [
+    """\
+    Update bindgen from 0.63 to 0.72: \
+    https://github.com/latchset/crypto-auditing/pull/182\
+    """,
+]
+
+[[package.extra-patches]]
+number = 10
+file = "0001-Avoid-deprecated-CargoCallbacks-constant.patch"
+comments = [
+    """\
+    Stop using the deprecated CargoCallbacks constant in build.rs; associated \
+    with the update to bindgen 0.72; part of \
+    https://github.com/latchset/crypto-auditing/pull/182.\
+    """,
+]

diff --git a/sources b/sources
index 81f0ef2..402ecd5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (crypto-auditing-0.3.0.crate) = 3a3f4bded71013a7c7f1db4a304b444bc2abc3b99542a0dca545f348216ffd7c2416300d46de0311b4e6447b162fdcd77d9cee9ed7da0655e21b7aa4aeeb9af5
+SHA512 (crypto-auditing-0.2.4.crate) = e004d2e6cd55e8efcf7fe219534ceb0991ed4837c0f2a9ac6dc4ac3d54dfd60c1ef1573a5202e5952c94a4c862a2ba31ac716d4a95d5ce673effd945cc64f968

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

only message in thread, other threads:[~2026-09-06 20:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-06 20:34 [rpms/rust-crypto-auditing] f44: Revert "Update to 0.3.0" 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