public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libcramjam] rawhide: Move even more customization into rust2rpm.toml
@ 2026-11-26 12:22 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-26 12:22 UTC (permalink / raw)
  To: git-commits

            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",
     """\

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

only message in thread, other threads:[~2026-11-26 12:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 12:22 [rpms/rust-libcramjam] rawhide: Move even more customization into rust2rpm.toml 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