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-alloc-no-stdlib] f45: Regenerate with rust2rpm v28
Date: Mon, 31 Aug 2026 15:01:51 GMT [thread overview]
Message-ID: <178818851169.1.1824980327999452478.rpms-rust-alloc-no-stdlib-9bdfdc4243ab@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-alloc-no-stdlib
Branch : f45
Commit : 9bdfdc4243abe7f8faa050dee8dabe7265d6bc79
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-31T16:51:54+02:00
Stats : +16/-19 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-alloc-no-stdlib/c/9bdfdc4243abe7f8faa050dee8dabe7265d6bc79?branch=f45
Log:
Regenerate with rust2rpm v28
---
diff --git a/alloc-no-stdlib-fix-metadata.diff b/alloc-no-stdlib-fix-metadata.diff
deleted file mode 100644
index f38c1f7..0000000
--- a/alloc-no-stdlib-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- alloc-no-stdlib-2.0.4/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ alloc-no-stdlib-2.0.4/Cargo.toml 2023-04-14T16:35:13.639860+00:00
-@@ -28,8 +28,5 @@
- license = "BSD-3-Clause"
- repository = "https://github.com/dropbox/rust-alloc-no-stdlib"
-
--[[bin]]
--name = "example"
--
- [features]
- unsafe = []
diff --git a/rust-alloc-no-stdlib.spec b/rust-alloc-no-stdlib.spec
index fa5859c..03a22a1 100644
--- a/rust-alloc-no-stdlib.spec
+++ b/rust-alloc-no-stdlib.spec
@@ -1,7 +1,10 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
%global debug_package %{nil}
+# prevent executables from being installed
+%global cargo_install_bin 0
+
%global crate alloc-no-stdlib
Name: rust-alloc-no-stdlib
@@ -12,11 +15,8 @@ Summary: Dynamic allocator that may be used with or without the stdlib
License: BSD-3-Clause
URL: https://crates.io/crates/alloc-no-stdlib
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * prevent example executable from being installed and shipped
-Patch: alloc-no-stdlib-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 26
%global _description %{expand:
A dynamic allocator that may be used with or without the stdlib. This
@@ -66,10 +66,10 @@ use the "unsafe" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
# https://github.com/dropbox/rust-alloc-no-stdlib/pull/8
find -type f -name '*.rs' -executable -exec chmod -x '{}' +
-%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..de22c30
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[package]
+cargo-install-bin = false
+
+[scripts]
+prep.post = [
+ "# https://github.com/dropbox/rust-alloc-no-stdlib/pull/8",
+ "find -type f -name '*.rs' -executable -exec chmod -x '{}' +",
+]
reply other threads:[~2026-08-31 15:01 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=178818851169.1.1824980327999452478.rpms-rust-alloc-no-stdlib-9bdfdc4243ab@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