public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libguestfs] f44: Use git to apply patches
@ 2026-07-03 9:07 Richard W.M. Jones
0 siblings, 0 replies; only message in thread
From: Richard W.M. Jones @ 2026-07-03 9:07 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-03 9:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-03 9:07 [rpms/libguestfs] f44: Use git to apply patches Richard W.M. Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox