From f66b8764bb23bc081698a37bd1abff613cfe5e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 25 Sep 2024 22:52:41 +0200 Subject: RPM: add support for Fedora 41 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/build/gather_rpm_sources.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'redhat/build') diff --git a/redhat/build/gather_rpm_sources.sh b/redhat/build/gather_rpm_sources.sh index d1ecdb3b0..f9db9354a 100755 --- a/redhat/build/gather_rpm_sources.sh +++ b/redhat/build/gather_rpm_sources.sh @@ -41,4 +41,9 @@ if [ -d "${PATCHDIR}" ]; then fi fi -exit $RET +if [ "${DIST}" = ".fc41" ]; then + sed -i "${TARGETDIR}/"*".spec" \ + -e "s|%patch|%patch -P |g" +fi + +exit 0 -- cgit v1.2.1