![](https://seccdn.libravatar.org/avatar/9df286bd635cdacb23a5bed82b5dc6f1.jpg?s=120&d=mm&r=g)
Can you try adding this line into the SPEC file:
find %{buildroot} -type f -name *.py -exec sed -i '1s/python\b/python2/' {} \;
Example:
%install
export NO_BRP_CHECK_BYTECODE_VERSION=true
install -d -m 0755 %{buildroot}%{_datadir}/tetra/
tar -C %{buildroot}%{_datadir}/tetra --strip-components=1 -xJf %{S:0}
find %{buildroot} -type f -name *.py -exec sed -i '1s/python\b/python2/' {} \;
%fdupes -s %{buildroot}%{_datadir}/tetra/
Best wishes,
Stefan
----- Ursprüngliche Mail -----
Von: "Julio Gonzalez"
An: "General discussion related to the development of the Uyuni project"
Hi
I enabled it. But it seems that the kit is not (yet?) there. We need to check on Monday.
Am Samstag, 28. Mai 2022, 09:57:45 CEST schrieb Stefan Bluhm:
Thank you Julio,
can you please also enable antl3-runtime? https://build.opensuse.org/package/show/systemsmanagement:Uyuni:Master:Oth er:EL/antlr3-runtime I don't know why it was disabled for AlmaLinux8 in the first place.
Also can you please double check on its kit? My project cannot find it. Not sure if I set it up wrong or the kit isn't there (or a different place).
Best wishes,
Stefan
----- Ursprüngliche Mail ----- Von: "Julio Gonzalez" An: "uyuni-devel"
, "devel" CC: "Stefan Bluhm" Gesendet: Freitag, 27. Mai 2022 10:24:24 Betreff: Re: Move/restore packages in OBS for EL On miércoles, 25 de mayo de 2022 15:16:32 (CEST) Stefan Bluhm wrote:
Hello Julio,
can you please restore antlr3-runtime to systemsmanagement:Uyuni:Master:Other:EL
and copy the kit file to the EL Kit project? javassist-kit = de04b98f697133f5adc52913332122c9ba9dd3a9 antlr3-runtime-kit (I believe there was a kit file?)
All done. The Kits should be ready soon so javassist and antl3-runtime can build again.
For antl3-runtime, you shold consider migrating to antl3-java (from Leap), as it was done for the openSUSE Uyuni (doesn't require a kit).
For javassist, we migrated to the package from Leap that doesn't tequire a kit either.
Thank you and best wishes,
Stefan
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni