Accepting request 1161489 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1161489
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=91
This commit is contained in:
Ana Guerrero 2024-03-26 18:25:02 +00:00 committed by Git OBS Bridge
commit d991c7430c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 18 10:37:48 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Mon Mar 4 12:49:30 UTC 2024 - Adam Mizerski <adam@mizerski.pl>

View File

@ -113,8 +113,6 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOU
%patch -P 42 -p1
%patch -P 52 -p1
%patch -P 100 -p1
# rpmlint
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}
@ -164,6 +162,9 @@ done
rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%find_lang %{name}
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}%{_libexecdir}/mc/extfs.d/*
%endif
%post
%if 0%{?suse_version} >= 1140