Accepting request 1154663 from home:etamPL:branches:Base:System

fix python3 dependency

/usr/bin/python is still python 2

OBS-URL: https://build.opensuse.org/request/show/1154663
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=155
This commit is contained in:
Dirk Mueller 2024-03-05 12:21:25 +00:00 committed by Git OBS Bridge
parent 44ba7aac8c
commit 71c90e5e27
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 4 12:49:30 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- fix python3 dependency
-------------------------------------------------------------------
Fri Feb 23 11:00:04 UTC 2024 - pgajdos@suse.com

View File

@ -114,7 +114,7 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU
%patch -P 52 -p1
%patch -P 100 -p1
# rpmlint
sed -i -e 's|\/usr\/bin\/env python3|\/usr\/bin\/python|g' src/vfs/extfs/helpers/uc1541
sed -i -e 's|\/usr\/bin\/env python3|\/usr\/bin\/python3|g' src/vfs/extfs/helpers/uc1541
%build
%{?!make_build:%define make_build make -O %_smp_mflags V=1 VERBOSE=1}