From dd645acf3909cbc9aaf1d63bc0997934a8412937 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 21 Jan 2025 11:56:15 +0300 Subject: [PATCH] Added certified repos --- SOURCES/msvsphere-certified-local.repo | 20 ++++++++++++++++ SOURCES/msvsphere-certified-updates.repo | 30 ++++++++++++++++++++++++ SOURCES/msvsphere-certified.repo | 30 ++++++++++++++++++++++++ SPECS/sphere-release.spec | 26 +++++++++++++++++++- 4 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 SOURCES/msvsphere-certified-local.repo create mode 100644 SOURCES/msvsphere-certified-updates.repo create mode 100644 SOURCES/msvsphere-certified.repo diff --git a/SOURCES/msvsphere-certified-local.repo b/SOURCES/msvsphere-certified-local.repo new file mode 100644 index 0000000..ca1cfb4 --- /dev/null +++ b/SOURCES/msvsphere-certified-local.repo @@ -0,0 +1,20 @@ +[certified-local] +name=MSVSphere $releasever - Certified +baseurl=file:///mnt/certified/Certified +enabled=0 +gpgcheck=1 +countme=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=1 + +[certified-local-updates] +name=MSVSphere $releasever - Certified +baseurl=file:///mnt/certified/Certified-updates +enabled=0 +gpgcheck=1 +countme=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=1 + diff --git a/SOURCES/msvsphere-certified-updates.repo b/SOURCES/msvsphere-certified-updates.repo new file mode 100644 index 0000000..6712925 --- /dev/null +++ b/SOURCES/msvsphere-certified-updates.repo @@ -0,0 +1,30 @@ +[certified-updates] +name=MSVSphere $releasever - Certified Updates +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified-updates +# baseurl=https://repo1.msvsphere-os.ru/certified/msvsphere/$releasever/Certified-updates/$basearch/os/ +enabled=0 +gpgcheck=1 +countme=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=1 + +[certified-updates-debuginfo] +name=MSVSphere $releasever - Certified Updates - Debug +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified-updates-debug +# baseurl=https://repo1.msvsphere-os.ru/certified/vault/$releasever/Certified-updates/debug/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=0 + +[certified-updates-source] +name=MSVSphere $releasever - Certified Updates - Source +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified-updates-source +# baseurl=https://repo1.msvsphere-os.ru/certified/vault/$releasever/Certified-updates/sources/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=0 diff --git a/SOURCES/msvsphere-certified.repo b/SOURCES/msvsphere-certified.repo new file mode 100644 index 0000000..46920db --- /dev/null +++ b/SOURCES/msvsphere-certified.repo @@ -0,0 +1,30 @@ +[certified] +name=MSVSphere $releasever - Certified +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified +# baseurl=https://repo1.msvsphere-os.ru/certified/msvsphere/$releasever/Certified/$basearch/os/ +enabled=1 +gpgcheck=1 +countme=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=1 + +[certified-debuginfo] +name=MSVSphere $releasever - Certified - Debug +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified-debug +# baseurl=https://repo1.msvsphere-os.ru/certified/vault/$releasever/Certified/debug/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=0 + +[certified-source] +name=MSVSphere $releasever - Certified - Source +mirrorlist=https://mirrors.inferitos.ru/mirrorlist/$releasever/certified-source +# baseurl=https://repo1.msvsphere-os.ru/certified/vault/$releasever/Certified/sources/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-MSVSphere-9 +metadata_expire=86400 +enabled_metadata=0 diff --git a/SPECS/sphere-release.spec b/SPECS/sphere-release.spec index 3622ced..f030677 100644 --- a/SPECS/sphere-release.spec +++ b/SPECS/sphere-release.spec @@ -7,7 +7,7 @@ Name: sphere-release Version: %{major}.%{minor} -Release: 2%{?dist} +Release: 3%{?dist} Summary: %{distro} release files License: GPLv2 URL: https://msvsphere-os.ru @@ -66,6 +66,9 @@ Source506: msvsphere-nfv.repo Source507: msvsphere-highavailability.repo Source508: msvsphere-resilientstorage.repo Source509: msvsphere-testing.repo +Source510: msvsphere-certified.repo +Source511: msvsphere-certified-updates.repo +Source512: msvsphere-certified-local.repo %description %{distro} release files. @@ -97,6 +100,7 @@ Provides: system-release Provides: system-release(%{version}) Provides: base-module(platform:f%{version}) Requires: sphere-release-common = %{version}-%{release} +Requires: sphere-repos-certified = %{version}-%{release} # sphere-release-common Requires: sphere-release-identity, so at least one # package must provide it. This Recommends: pulls in @@ -319,6 +323,15 @@ Provides: sphere-repos(%{version}) %description -n sphere-repos This package provides the package repository files for %{distro}. +%package -n sphere-repos-certified +Summary: %{distro} Certified package repositories +Requires: sphere-release = %{version}-%{release} +Requires: sphere-gpg-keys = %{version}-%{release} +Provides: sphere-repos(%{version}) + +%description -n sphere-repos +This package provides the package repository files for %{distro} +Certified. %package -n sphere-repos-extra Summary: %{distro} extra packages repositories @@ -524,6 +537,9 @@ install -p -m 0644 %{SOURCE506} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE507} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE508} %{buildroot}%{_sysconfdir}/yum.repos.d/ install -p -m 0644 %{SOURCE509} %{buildroot}%{_sysconfdir}/yum.repos.d/ +install -p -m 0644 %{SOURCE510} %{buildroot}%{_sysconfdir}/yum.repos.d/ +install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/ +install -p -m 0644 %{SOURCE512} %{buildroot}%{_sysconfdir}/yum.repos.d/ # Use beta repos %if %{defined betachannel} @@ -642,6 +658,11 @@ fi %config(noreplace) %{_sysconfdir}/yum.repos.d/msvsphere-resilientstorage.repo %config(noreplace) %{_sysconfdir}/dnf/vars/stream +%files -n sphere-repos-certified +%config(noreplace) %{_sysconfdir}/yum.repos.d/msvsphere-certified.repo +%config(noreplace) %{_sysconfdir}/yum.repos.d/msvsphere-certified-local.repo +%config(noreplace) %{_sysconfdir}/yum.repos.d/msvsphere-certified-updates.repo + %files -n sphere-repos-extra %config(noreplace) %{_sysconfdir}/yum.repos.d/msvsphere-devel.repo @@ -655,6 +676,9 @@ fi %changelog +* Tue Jan 21 2025 Arkady L. Shane - 9.5-3 +- Added certified repos + * Tue Nov 26 2024 Arkady L. Shane - 9.5-2 - Updates LICENSES