|
|
|
@ -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 <lua> identity-arm
|
|
|
|
|
posix.symlink("/usr/share/sphere-release/EULA-ARM", "/usr/share/sphere-release/EULA")
|
|
|
|
|
%posttrans -p <lua> 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 <lua> identity-server
|
|
|
|
|
posix.symlink("/usr/share/sphere-release/EULA-SERVER", "/usr/share/sphere-release/EULA")
|
|
|
|
|
%posttrans -p <lua> 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 <tigro@msvsphere-os.ru> - 8.9-8.1
|
|
|
|
|
- call ln -srf from lua
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.9-8
|
|
|
|
|
- Use lua for some scriptlets to avoid missing /bin/sh
|
|
|
|
|
|
|
|
|
|