almalinux-release-devel/almalinux-release-devel.spec
2024-10-25 13:24:06 +03:00

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