Add stream dnf variable for CentOS SIG repos compatibility
This commit is contained in:
parent
c0254e6160
commit
7226efe25f
@ -241,9 +241,9 @@ install -p -m 0644 %{SOURCE510} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
install -p -m 0644 %{SOURCE511} %{buildroot}%{_sysconfdir}/yum.repos.d/
|
||||
%endif
|
||||
|
||||
# dnf variables
|
||||
# dnf variables for CentOS SIG repos compatibility
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/dnf/vars
|
||||
# echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
|
||||
echo "%{major}-stream" > %{buildroot}%{_sysconfdir}/dnf/vars/stream
|
||||
|
||||
# copy GPG keys
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/pki/rpm-gpg
|
||||
@ -292,6 +292,7 @@ install -p -m 0644 %{SOURCE600} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
||||
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-nfv.repo
|
||||
%config(noreplace) %{_sysconfdir}/yum.repos.d/almalinux-rt.repo
|
||||
%endif
|
||||
%config(noreplace) %{_sysconfdir}/dnf/vars/stream
|
||||
|
||||
%files -n almalinux-gpg-keys
|
||||
%{_sysconfdir}/pki/rpm-gpg
|
||||
|
Loading…
Reference in New Issue
Block a user