packaging: remove hombrew from Mac RPM spec

Summary: To eliminate the homebrew problem, the directory to `opt/homebrew` should be removed from the packaging RPM spec.

Reviewed By: quark-zju

Differential Revision: D49276024

fbshipit-source-id: febb26dc484b7384e6a7914af37ebb6331b24ac9
This commit is contained in:
Marlon Jacques 2023-09-18 10:24:07 -07:00 committed by Facebook GitHub Bot
parent 7e9673c9a5
commit 9c759c11a7

View File

@ -22,7 +22,6 @@ rpmbuild --target i386 \
--define "python_sitepackage /opt/sapling-beta/lib/python$PYTHON_VERSION/site-packages" \
--define "python_sitelib /opt/sapling-beta/lib/python$PYTHON_VERSION/site-packages" \
--define "python_sitearch /opt/sapling-beta/lib/python$PYTHON_VERSION/site-packages" \
--define "__python /opt/homebrew/opt/python$PYTHON_VERSION_SHORT/bin/python$PYTHON_VERSION" \
--define "_tmppath /var/tmp" \
--define "version $VERSION" \
--define "sapling_root $ROOT" \