summaryrefslogtreecommitdiffstats
path: root/redhat/build
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2021-05-13 22:37:43 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2021-05-13 22:40:34 +0200
commite992171187e448332d866ac9827f46b7632ce3fa (patch)
tree21afc436092e1bcb55834eb22ad3df9bdab883cb /redhat/build
parentec1c5eaa0e86bf9f34c15e86675834683fbcbbfb (diff)
downloadtde-packaging-e992171187e448332d866ac9827f46b7632ce3fa.tar.gz
tde-packaging-e992171187e448332d866ac9827f46b7632ce3fa.zip
RPM: update build scripts for centos5
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build')
-rwxr-xr-xredhat/build/gather_rpm_sources.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/build/gather_rpm_sources.sh b/redhat/build/gather_rpm_sources.sh
index 9f421e770..7961b95be 100755
--- a/redhat/build/gather_rpm_sources.sh
+++ b/redhat/build/gather_rpm_sources.sh
@@ -32,7 +32,7 @@ cp -f ${SPECFILE} ${SOURCES} ${TARBALL} "${TARGETDIR}"
PATCHDIR="${HOME}/tde/patches/${TDE_VERSION}/$1"
if [ -d "${PATCHDIR}" ]; then
- cat "${PATCHDIR}/"*".patch" >>"${TARGETDIR}/one.patch"
+ cat "${PATCHDIR}/"*".patch" "${PATCHDIR}/"*".patch${DIST}" >>"${TARGETDIR}/one.patch"
sed -i "${TARGETDIR}/"*".spec" \
-e "/^Source0:/ s/$/\nPatch389: one.patch/" \
-e "/%setup/ s/$/\n%patch389 -p1/"