public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Richard W.M. Jones <rjones@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libguestfs] f44: Use git to apply patches
Date: Fri, 03 Jul 2026 09:07:29 GMT	[thread overview]
Message-ID: <178306964926.1.12842862935256668728.rpms-libguestfs-c410cc1a48c5@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libguestfs
            Branch : f44
            Commit : c410cc1a48c54f5c7d3cab83d7650d7f8ac6bad2
            Author : Richard W.M. Jones <rjones@redhat.com>
            Date   : 2026-05-11T12:25:54+01:00
            Stats  : +4/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libguestfs/c/c410cc1a48c54f5c7d3cab83d7650d7f8ac6bad2?branch=f44

            Log:
            Use git to apply patches

Copy a change we are using from RHEL to Fedora.

---
diff --git a/libguestfs.spec b/libguestfs.spec
index 7f0a429..5051a9b 100644
--- a/libguestfs.spec
+++ b/libguestfs.spec
@@ -69,6 +69,9 @@ Source7:       libguestfs.keyring
 # Maintainer script which helps with handling patches.
 Source8:       copy-patches.sh
 
+# For applying patches:
+BuildRequires: git
+
 BuildRequires: autoconf, automake, libtool, gettext-devel
 
 # Basic build requirements.
@@ -619,8 +622,7 @@ for %{name}.
 %if 0%{verify_tarball_signature}
 %{gpgverify} --keyring='%{SOURCE7}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %endif
-%setup -q
-%autopatch -p1
+%autosetup -S git -p1
 
 # ACLOCAL_PATH is temporarily required to work around
 # https://bugzilla.redhat.com/show_bug.cgi?id=2366708

                 reply	other threads:[~2026-07-03  9:07 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=178306964926.1.12842862935256668728.rpms-libguestfs-c410cc1a48c5@fedoraproject.org \
    --to=rjones@redhat.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