summaryrefslogtreecommitdiffstats
path: root/redhat/build
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2024-09-25 22:52:41 +0200
committerFrançois Andriot <[email protected]>2024-09-25 22:52:41 +0200
commitf66b8764bb23bc081698a37bd1abff613cfe5e87 (patch)
tree66e94f2545b3de43097aad3b7aa8017500310c05 /redhat/build
parentc613bf5a7ba068887dab0a7d50b314f0bdea32ad (diff)
downloadtde-packaging-f66b8764bb23bc081698a37bd1abff613cfe5e87.tar.gz
tde-packaging-f66b8764bb23bc081698a37bd1abff613cfe5e87.zip
RPM: add support for Fedora 41
Signed-off-by: François Andriot <[email protected]>
Diffstat (limited to 'redhat/build')
-rwxr-xr-xredhat/build/gather_rpm_sources.sh7
1 files changed, 6 insertions, 1 deletions
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