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:39:10 +0200
commit1b7fda4f91482574988731a5753c9bbd40dee0e7 (patch)
treee5c8a43a217a26ea1d37a1f5f80a5a72fdb7b1fb /redhat/build
parent8e3510f75a34c04dcf4503c15d4cfa85c92ed0e4 (diff)
downloadtde-packaging-1b7fda4f91482574988731a5753c9bbd40dee0e7.tar.gz
tde-packaging-1b7fda4f91482574988731a5753c9bbd40dee0e7.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 22adfa972..8c16c56f4 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/"