31 lines
851 B
RPMSpec
31 lines
851 B
RPMSpec
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 <eabdullin@almalinux.org> - 10-1
|
|
- Initial version
|