Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1910)

Unified Diff: chrome/installer/linux/rpm/build.sh

Issue 410413004: Fix handling of icon resources in official RPM packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/installer/linux/rpm/chrome.spec.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/linux/rpm/build.sh
diff --git a/chrome/installer/linux/rpm/build.sh b/chrome/installer/linux/rpm/build.sh
index 6597b9961c7eb23773d099e138203f0f47588619..f3f27003b5b0f13cfad11fcdac818e54256f5e7d 100755
--- a/chrome/installer/linux/rpm/build.sh
+++ b/chrome/installer/linux/rpm/build.sh
@@ -21,6 +21,7 @@ gen_spec() {
if [ "$CHANNEL" != "stable" ]; then
local INSTALLDIR="${INSTALLDIR}-${CHANNEL}"
PACKAGE_FILENAME="${PACKAGE}-${CHANNEL}"
+ PACKAGE="${PACKAGE}-${CHANNEL}"
local MENUNAME="${MENUNAME} (${CHANNEL})"
fi
process_template "${SCRIPTDIR}/chrome.spec.template" "${SPEC}"
@@ -151,7 +152,7 @@ do_package() {
--define "_binary_payload w9.bzdio" \
--define "__os_install_post %{nil}" \
"${SPEC}"
- PKGNAME="${PACKAGE}-${CHANNEL}-${VERSION}-${PACKAGE_RELEASE}"
+ PKGNAME="${PACKAGE}-${VERSION}-${PACKAGE_RELEASE}"
Lei Zhang 2014/07/24 19:25:58 Based on the gen_spec() changes above, and gen_spe
Paweł Hajdan Jr. 2014/07/25 10:51:29 There was no collision, but stable was named googl
Lei Zhang 2014/07/30 03:30:25 (General observation) I think a lot of the confusi
mv "$RPMBUILD_DIR/RPMS/$ARCHITECTURE/${PKGNAME}.${ARCHITECTURE}.rpm" \
"${OUTPUTDIR}"
# Make sure the package is world-readable, otherwise it causes problems when
« no previous file with comments | « no previous file | chrome/installer/linux/rpm/chrome.spec.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698