diff --git a/SOURCES/almalinux-devel.repo b/SOURCES/almalinux-devel.repo deleted file mode 100644 index 93d585f..0000000 --- a/SOURCES/almalinux-devel.repo +++ /dev/null @@ -1,35 +0,0 @@ -# Devel repo for AlmaLinux -# Not for production. For buildroot use only - -[devel] -name=AlmaLinux $releasever - Devel -mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel -# baseurl=https://repo.almalinux.org/almalinux/$releasever/devel/$basearch/os/ -gpgcheck=1 -enabled=1 -countme=1 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 -metadata_expire=86400 -enabled_metadata=0 - -## Sources -[devel-source] -name=AlmaLinux $releasever - Devel Source -mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel-source -# baseurl=https://repo.almalinux.org/vault/$releasever/devel/Source/ -gpgcheck=1 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 -metadata_expire=86400 -enabled_metadata=0 - -## Debug -[devel-debuginfo] -name=AlmaLinux $releasever - Devel debuginfo -mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/devel-debuginfo -# baseurl=https://repo.almalinux.org/vault/$releasever/devel/debug/$basearch/ -gpgcheck=1 -enabled=0 -gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9 -metadata_expire=86400 -enabled_metadata=0 diff --git a/SPECS/almalinux-release-devel.spec b/SPECS/almalinux-release-devel.spec deleted file mode 100644 index bc08c0d..0000000 --- a/SPECS/almalinux-release-devel.spec +++ /dev/null @@ -1,25 +0,0 @@ -Summary: AlmaLinux devel repository configuration -Name: almalinux-release-devel -Version: 9 -Release: 1%{?dist} -License: GPLv2 -URL: https://almalinux.org/ -BuildArch: noarch -Source0: almalinux-devel.repo - -Provides: almalinux-release-devel = 9 - -%description -DNF configuration for AlmaLinux devel repo -Not for production. For buildroot use only - -%install -install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-devel.repo - -%files -%defattr(-,root,root) -%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-devel.repo - -%changelog -* Mon Aug 14 2023 Andrew Lukoshko - 9-1 -- Initial version diff --git a/almalinux-devel.repo b/almalinux-devel.repo new file mode 100644 index 0000000..51ebfbe --- /dev/null +++ b/almalinux-devel.repo @@ -0,0 +1,33 @@ +# Devel repo for AlmaLinux +# Not for production. For buildroot use only + +[devel] +name=AlmaLinux Kitten $releasever - Devel +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/devel +# baseurl=https://kitten.repo.almalinux.org/$releasever-kitten/devel/$basearch/os/ +enabled=1 +gpgcheck=1 +countme=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 +metadata_expire=86400 +enabled_metadata=1 + +[devel-debuginfo] +name=AlmaLinux Kitten $releasever - Devel - Debug +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/devel-debug +# baseurl=https://kitten.vault.almalinux.org/$releasever-kitten/devel/debug/$basearch/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 +metadata_expire=86400 +enabled_metadata=0 + +[devel-source] +name=AlmaLinux Kitten $releasever - Devel - Source +mirrorlist=https://kitten.mirrors.almalinux.org/mirrorlist/$releasever-kitten/devel-source +# baseurl=https://kitten.vault.almalinux.org/$releasever-kitten/devel/Source/ +enabled=0 +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10 +metadata_expire=86400 +enabled_metadata=0 diff --git a/almalinux-release-devel.spec b/almalinux-release-devel.spec new file mode 100644 index 0000000..23ea30c --- /dev/null +++ b/almalinux-release-devel.spec @@ -0,0 +1,30 @@ +Summary: AlmaLinux Kitten devel repository configuration +Name: almalinux-kitten-release-devel +Version: 10 +Release: 1%{?dist} +License: GPLv2 +URL: https://almalinux.org/ +Source0: almalinux-devel.repo + +Provides: almalinux-kitten-release-devel = 10 + +%description +DNF configuration for AlmaLinux Kitten devel repo +Not for production. For buildroot use only + +%install +install -D -m 644 %{SOURCE0} %{buildroot}%{_sysconfdir}/yum.repos.d/almalinux-devel.repo + +%ifarch x86_64_v2 +sed -i "s/\$basearch/x86_64_v2/g" %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo +sed -i '/^mirrorlist=/ s|$|?arch=x86_64_v2|g' %{buildroot}%{_sysconfdir}/yum.repos.d/*.repo +%endif + + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-devel.repo + +%changelog +* Fri Oct 25 2024 Eduard Abdullin - 10-1 +- Initial version