public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-num-prime] rawhide: Drop dependency on dropped internal num-modular/num-integer feature
@ 2026-11-04 23:18 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-11-04 23:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-num-prime
Branch : rawhide
Commit : e03334a2f6a538fbf1fe92657127fc1e76b5cedc
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-05T00:04:49+01:00
Stats : +17/-3 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-num-prime/c/e03334a2f6a538fbf1fe92657127fc1e76b5cedc?branch=rawhide
Log:
Drop dependency on dropped internal num-modular/num-integer feature
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 7f6d1a4..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-num-prime
-
-The rust-num-prime package
diff --git a/num-prime-fix-metadata.diff b/num-prime-fix-metadata.diff
new file mode 100644
index 0000000..a25ee4c
--- /dev/null
+++ b/num-prime-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- num-prime-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ num-prime-0.5.0/Cargo.toml 2026-11-04T23:04:34.619744+00:00
+@@ -48,7 +48,6 @@
+ "num-bigint",
+ "num-modular/num-bigint",
+ "num-modular/num-traits",
+- "num-modular/num-integer",
+ ]
+ big-table = []
+ default = [
diff --git a/rust-num-prime.spec b/rust-num-prime.spec
index 032f4ce..5762b6e 100644
--- a/rust-num-prime.spec
+++ b/rust-num-prime.spec
@@ -12,6 +12,9 @@ Summary: Utilities for prime number related functionalities
License: Apache-2.0
URL: https://crates.io/crates/num-prime
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop dependency on dropped internal num-modular/num-integer feature
+Patch: num-prime-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 2b8ab4e..b15507e 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,2 +1,6 @@
[package]
summary = "Utilities for prime number related functionalities"
+cargo-toml-patch-comments = [
+ "drop dependency on dropped internal num-modular/num-integer feature",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-04 23:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 23:18 [rpms/rust-num-prime] rawhide: Drop dependency on dropped internal num-modular/num-integer feature Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox