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-libdeflate-sys] epel9: Use long options
Date: Sun, 23 Aug 2026 11:35:01 GMT	[thread overview]
Message-ID: <178748490146.1.12549899515162076494.rpms-rust-libdeflate-sys-b5beaf34a224@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-libdeflate-sys
            Branch : epel9
            Commit : b5beaf34a224f6361e16c7cb6729c546fe15ed36
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-23T11:35:28+01:00
            Stats  : +11/-7 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-libdeflate-sys/c/b5beaf34a224f6361e16c7cb6729c546fe15ed36?branch=epel9

            Log:
            Use long options

[skip changelog]

---
diff --git a/libdeflate-sys-fix-metadata.diff b/libdeflate-sys-fix-metadata.diff
index 7d59373..bc6bbb0 100644
--- a/libdeflate-sys-fix-metadata.diff
+++ b/libdeflate-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- libdeflate-sys-1.25.2/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ libdeflate-sys-1.25.2/Cargo.toml	2026-02-08T11:56:03.586567+00:00
++++ libdeflate-sys-1.25.2/Cargo.toml	2026-08-23T10:29:23.119565+00:00
 @@ -41,7 +41,7 @@
  repository = "https://github.com/libdeflater/libdeflater"
  

diff --git a/rust-libdeflate-sys.spec b/rust-libdeflate-sys.spec
index 4f49170..27fd3a8 100644
--- a/rust-libdeflate-sys.spec
+++ b/rust-libdeflate-sys.spec
@@ -82,13 +82,15 @@ use the "freestanding" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 # Remove the bundled copy of libdeflate.
-rm -rv libdeflate
+rm --recursive --verbose libdeflate
 # Make libdeflate detection with pkg-config unconditional.
-sed -r -i 's@^([[:blank:]]*)(#\[cfg\(feature *= *"dynamic"\)\])@\1// \2@' build.rs
+sed --regexp-extended --in-place \
+    's@^([[:blank:]]*)(#\[cfg\(feature *= *"dynamic"\)\])@\1// \2@' build.rs
 # Don’t require an exact version match. We would *like* the versions to stay
 # aligned, but we don’t *need* to update libdeflate and
 # rust-libdeflate-sys/rust-libdeflater concurrently.
-sed -r -i 's@^([[:blank:]]*)(\.exactly_version\()@\1// \2@' build.rs
+sed --regexp-extended --in-place \
+    's@^([[:blank:]]*)(\.exactly_version\()@\1// \2@' build.rs
 # The above two sed-patches effectively revert “Dynamic Linking Constraints”,
 # https://github.com/adamkewley/libdeflater/pull/32. Using sed instead of a
 # patch file keeps us from having to update the patch every time the version

diff --git a/rust2rpm.toml b/rust2rpm.toml
index dfb2a3d..3e53811 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -22,13 +22,15 @@ license-files.exclude = [
 pre = [
     '''
 # Remove the bundled copy of libdeflate.
-rm -rv libdeflate
+rm --recursive --verbose libdeflate
 # Make libdeflate detection with pkg-config unconditional.
-sed -r -i 's@^([[:blank:]]*)(#\[cfg\(feature *= *"dynamic"\)\])@\1// \2@' build.rs
+sed --regexp-extended --in-place \
+    's@^([[:blank:]]*)(#\[cfg\(feature *= *"dynamic"\)\])@\1// \2@' build.rs
 # Don’t require an exact version match. We would *like* the versions to stay
 # aligned, but we don’t *need* to update libdeflate and
 # rust-libdeflate-sys/rust-libdeflater concurrently.
-sed -r -i 's@^([[:blank:]]*)(\.exactly_version\()@\1// \2@' build.rs
+sed --regexp-extended --in-place \
+    's@^([[:blank:]]*)(\.exactly_version\()@\1// \2@' build.rs
 # The above two sed-patches effectively revert “Dynamic Linking Constraints”,
 # https://github.com/adamkewley/libdeflater/pull/32. Using sed instead of a
 # patch file keeps us from having to update the patch every time the version

                 reply	other threads:[~2026-08-23 11:35 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=178748490146.1.12549899515162076494.rpms-rust-libdeflate-sys-b5beaf34a224@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