diff options
author | François Andriot <[email protected]> | 2014-10-04 20:02:44 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2014-10-04 20:02:44 +0200 |
commit | 3874a59988bcd5c975928863e9a0cd792cb5f780 (patch) | |
tree | 14c337262805710cba274c26fbac9f825ac092d2 /redhat/build/build_rpm_package.sh | |
parent | b33353afb9580b295ace66afb41ea352a305d73f (diff) | |
download | tde-packaging-3874a59988bcd5c975928863e9a0cd792cb5f780.tar.gz tde-packaging-3874a59988bcd5c975928863e9a0cd792cb5f780.zip |
RPM Packaging: update R14 packages
Diffstat (limited to 'redhat/build/build_rpm_package.sh')
-rwxr-xr-x | redhat/build/build_rpm_package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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\ <[email protected]>" \ --define "tde_version ${TDE_VERSION}" \ --define "tde_prefix /opt/trinity" \ - --define "preversion ${PREVERSION:\\\"\\\"}" \ + --define "preversion ${PREVERSION:-\\\"\\\"}" \ ${ARGS} \ "${TEMPDIR}/${SPECFILE##*/}" RET=$? |