diff --git a/SPECS/sphere-release.spec b/SPECS/sphere-release.spec index 7627a4d..d44e389 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -6,7 +6,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 6%{?dist} +Release: 7%{?dist} Summary: %{distro} release files License: GPLv2 URL: https://msvsphere-os.ru @@ -366,13 +366,17 @@ fi /usr/bin/flatpak remote-delete --system fedora ||: %post identity-arm -/usr/bin/ln -srf /usr/share/sphere-release/EULA-ARM /usr/share/sphere-release/EULA ||: +pushd /usr/share/sphere-release/ > /dev/null 2>&1 +ln -sf EULA-ARM EULA +popd > /dev/null 2>&1 %preun identity-arm /usr/bin/rm -f /usr/share/sphere-release/EULA %post identity-server -/usr/bin/ln -srf /usr/share/sphere-release/EULA-SERVER /usr/share/sphere-release/EULA ||: +pushd /usr/share/sphere-release/ > /dev/null 2>&1 +ln -sf EULA-SERVER EULA +popd > /dev/null 2>&1 %preun identity-server /usr/bin/rm -f /usr/share/sphere-release/EULA @@ -442,6 +446,9 @@ fi %changelog +* Mon Mar 18 2024 Arkady L. Shane - 8.9-7 +- Fix link creation (strange bug during installation) + * Mon Mar 18 2024 Arkady L. Shane - 8.9-6 - Always return 0 in postin