From 3874a59988bcd5c975928863e9a0cd792cb5f780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 4 Oct 2014 20:02:44 +0200 Subject: RPM Packaging: update R14 packages --- redhat/build/build_rpm_package.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redhat/build/build_rpm_package.sh') diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh index 2eca7cef5..f30a4246b 100755 --- a/redhat/build/build_rpm_package.sh +++ b/redhat/build/build_rpm_package.sh @@ -41,7 +41,7 @@ fi if [ -r "${TEMPDIR}/one.patch" ]; then sed -i "${TEMPDIR}/"*.spec \ -e "/^Source0:/ s/$/\nPatch0: one.patch/" \ - -e "/%setup/ s/$/\n%patch0 -p1 -b .orig/" + -e "/%setup/ s/$/\n%patch0 -p1/" fi # Determines if we are running an i386 or x86_64 distro @@ -66,7 +66,7 @@ rpmbuild -ba \ --define "packager Francois\ Andriot\ " \ --define "tde_version ${TDE_VERSION}" \ --define "tde_prefix /opt/trinity" \ - --define "preversion ${PREVERSION:\\\"\\\"}" \ + --define "preversion ${PREVERSION:-\\\"\\\"}" \ ${ARGS} \ "${TEMPDIR}/${SPECFILE##*/}" RET=$? -- cgit v1.2.1