|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: sphere-release
|
|
|
|
Name: sphere-release
|
|
|
|
Version: %{major}.%{minor}
|
|
|
|
Version: %{major}.%{minor}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: %{distro} release files
|
|
|
|
Summary: %{distro} release files
|
|
|
|
License: GPLv2
|
|
|
|
License: GPLv2
|
|
|
|
URL: https://msvsphere-os.ru
|
|
|
|
URL: https://msvsphere-os.ru
|
|
|
@ -349,6 +349,14 @@ install -p -m 0644 %{SOURCE509} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
|
|
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
|
|
|
install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
|
|
|
install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%pre -n sphere-release-common
|
|
|
|
|
|
|
|
# Workarround for redhat-server-eula problem
|
|
|
|
|
|
|
|
if [ $1 = 1 ]; then
|
|
|
|
|
|
|
|
if [ -d /usr/share/redhat-release ]; then
|
|
|
|
|
|
|
|
rm -rf /usr/share/redhat-release
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
%post -n sphere-repos-flatpak
|
|
|
|
%post -n sphere-repos-flatpak
|
|
|
|
/usr/bin/flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo ||:
|
|
|
|
/usr/bin/flatpak remote-add --system --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo ||:
|
|
|
|
/usr/bin/flatpak remote-add --system --if-not-exists fedora oci+https://registry.fedoraproject.org ||:
|
|
|
|
/usr/bin/flatpak remote-add --system --if-not-exists fedora oci+https://registry.fedoraproject.org ||:
|
|
|
@ -434,6 +442,9 @@ install -p -m 0644 %{SOURCE100} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Mar 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.9-5
|
|
|
|
|
|
|
|
- Remove /usr/share/redhat-release at the first install
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.9-4
|
|
|
|
* Tue Mar 12 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 8.9-4
|
|
|
|
- Obsoletes redhat-release-eula
|
|
|
|
- Obsoletes redhat-release-eula
|
|
|
|
|
|
|
|
|
|
|
|