public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libcramjam] rawhide: Move even more customization into rust2rpm.toml
Date: Thu, 26 Nov 2026 12:22:39 GMT [thread overview]
Message-ID: <179569575918.1.8145935864915628149.rpms-rust-libcramjam-964ebc865005@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-libcramjam
Branch : rawhide
Commit : 964ebc865005d82880bcbc8d66b1e4670feaf6e4
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-26T11:41:58+00:00
Stats : +23/-4 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libcramjam/c/964ebc865005d82880bcbc8d66b1e4670feaf6e4?branch=rawhide
Log:
Move even more customization into rust2rpm.toml
[skip changlog]
---
diff --git a/libcramjam-fix-metadata.diff b/libcramjam-fix-metadata.diff
index 32796ee..b8d5785 100644
--- a/libcramjam-fix-metadata.diff
+++ b/libcramjam-fix-metadata.diff
@@ -1,5 +1,5 @@
--- libcramjam-0.9.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libcramjam-0.9.3/Cargo.toml 2026-11-26T10:43:19.986038+00:00
++++ libcramjam-0.9.3/Cargo.toml 2026-11-26T11:40:43.083563+00:00
@@ -40,15 +40,6 @@
subdirectory = "cramjam"
diff --git a/rust-libcramjam.spec b/rust-libcramjam.spec
index 407feb5..9a20041 100644
--- a/rust-libcramjam.spec
+++ b/rust-libcramjam.spec
@@ -1,5 +1,6 @@
# Generated by rust2rpm 28
%bcond check 1
+
# Build a C-API shared library with cargo-c and install it?
#
# Once we build a shared library in an EPEL release, we are almost guaranteed
@@ -11,13 +12,14 @@
# avoid an incompatible update.
%bcond capi %[ %{undefined epel} && %{undefined fc43} && %{undefined fc44} && %{undefined fc45} ]
-%global crate libcramjam
-
-Name: rust-libcramjam
# Even though this is just MAJOR.MINOR from the SemVer version, we repeat it
# explicitly to help prevent undetected/unannounced SONAME version bumps in the
# libcramjam/libcramjam-devel subpackages.
%global soversion 0.9
+
+%global crate libcramjam
+
+Name: rust-libcramjam
Version: 0.9.3
Release: %autorelease
Summary: Compression library combining a plethora of algorithms
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 296b46d..8b7abd1 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,5 +1,22 @@
[package]
summary = "Compression library combining a plethora of algorithms"
+preamble = """\
+# Build a C-API shared library with cargo-c and install it?
+#
+# Once we build a shared library in an EPEL release, we are almost guaranteed
+# to eventually need to maintain a compat package to preserve its API/ABI
+# stability. For the time being, we don’t plan to ship a shared library in any
+# EPEL release unless someone specifically asks for it.
+#
+# Older Fedora releases have the shared library built in a compat package to
+# avoid an incompatible update.
+%bcond capi %[ %{undefined epel} && %{undefined fc43} && %{undefined fc44} && %{undefined fc45} ]
+
+# Even though this is just MAJOR.MINOR from the SemVer version, we repeat it
+# explicitly to help prevent undetected/unannounced SONAME version bumps in the
+# libcramjam/libcramjam-devel subpackages.
+%global soversion 0.9\
+"""
cargo-toml-patch-comments = [
"Omit unused, benchmark-only criterion dev-dependency",
"""\
reply other threads:[~2026-11-26 12:22 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=179569575918.1.8145935864915628149.rpms-rust-libcramjam-964ebc865005@fedoraproject.org \
--to=code@musicinmybrain.net \
--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