Remove manual fix of the criu-ns shebang

The criu-ns shebang has been updated to use Python 3
upstream. This fix is no longer necessary.

Signed-off-by: Radostin Stoyanov <radostin@redhat.com>
This commit is contained in:
Radostin Stoyanov 2021-10-14 17:04:14 +01:00
parent 6c7e00a297
commit 4ae7ecb6cd
No known key found for this signature in database
GPG Key ID: 21C246FD7C1157A7

View File

@ -150,8 +150,6 @@ install -p -m 644 -D %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/compel.1
install -p -m 644 -D %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/man1/criu-ns.1
%endif
sed -e "s,/usr/bin/env python,%{_bindir}/%{py_binary},g" -i $RPM_BUILD_ROOT/%{_sbindir}/criu-ns
mkdir -p %{buildroot}%{_tmpfilesdir}
install -m 0644 %{SOURCE5} %{buildroot}%{_tmpfilesdir}/%{name}.conf
install -d -m 0755 %{buildroot}/run/%{name}/