diff --git a/SPECS/sphere-release.spec b/SPECS/sphere-release.spec index 87506c3..c407ddf 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -6,7 +6,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 8%{?dist} +Release: 8%{?dist}.1 Summary: %{distro} release files License: GPLv2 URL: https://msvsphere-os.ru @@ -361,14 +361,14 @@ return 0 /usr/bin/flatpak remote-delete --system flathub ||: /usr/bin/flatpak remote-delete --system fedora ||: -%post -p identity-arm -posix.symlink("/usr/share/sphere-release/EULA-ARM", "/usr/share/sphere-release/EULA") +%posttrans -p identity-arm +os.execute("/usr/bin/ln -srf /usr/share/sphere-release/EULA-ARM /usr/share/sphere-release/EULA") %preun identity-arm /usr/bin/rm -f /usr/share/sphere-release/EULA -%post -p identity-server -posix.symlink("/usr/share/sphere-release/EULA-SERVER", "/usr/share/sphere-release/EULA") +%posttrans -p identity-server +os.execute("/usr/bin/ln -srf /usr/share/sphere-release/EULA-SERVER /usr/share/sphere-release/EULA") %preun identity-server /usr/bin/rm -f /usr/share/sphere-release/EULA @@ -438,6 +438,9 @@ posix.symlink("/usr/share/sphere-release/EULA-SERVER", "/usr/share/sphere-releas %changelog +* Tue Mar 19 2024 Arkady L. Shane - 8.9-8.1 +- call ln -srf from lua + * Mon Mar 18 2024 Arkady L. Shane - 8.9-8 - Use lua for some scriptlets to avoid missing /bin/sh