rpm: make sure /usr/bin/python (not /bin/python) is used
Otherwise rpm will fail to resolve dependencies (no package provides /bin/python).
This commit is contained in:
parent
bf140ae175
commit
c34427e264
@ -84,7 +84,8 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
|
|
||||||
### Appmenus
|
### Appmenus
|
||||||
python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
# force /usr/bin before /bin to have /usr/bin/python instead of /bin/python
|
||||||
|
PATH="/usr/bin:$PATH" python setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/qubes-rpc/policy
|
mkdir -p $RPM_BUILD_ROOT/etc/qubes-rpc/policy
|
||||||
cp qubesappmenus/qubes.SyncAppMenus $RPM_BUILD_ROOT/etc/qubes-rpc/
|
cp qubesappmenus/qubes.SyncAppMenus $RPM_BUILD_ROOT/etc/qubes-rpc/
|
||||||
|
Loading…
Reference in New Issue
Block a user