add missing rltype

This commit is contained in:
Louis Abel 2022-10-01 17:08:45 -07:00
parent d15e8400ff
commit a571823ccd
Signed by: label
GPG Key ID: B37E62D143879B36

View File

@ -114,7 +114,7 @@ Provides: redhat-release-eula = %{version}-%{release}
Provides: centos-release-eula = %{version}-%{release} Provides: centos-release-eula = %{version}-%{release}
# What are our requirements? # What are our requirements?
Requires: rocky-repos(%{major}) Requires: rocky-repos%{?rltype}(%{major})
# GPG Keys (100-199) # GPG Keys (100-199)
Source101: RPM-GPG-KEY-rockyofficial Source101: RPM-GPG-KEY-rockyofficial
@ -317,7 +317,7 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%{_prefix}/lib/systemd/system-preset/* %{_prefix}/lib/systemd/system-preset/*
%{_mandir}/man1/rocky.1.gz %{_mandir}/man1/rocky.1.gz
%files -n rocky-repos %files -n rocky-repos%{?rltype}
%license LICENSE %license LICENSE
%config(noreplace) %{_sysconfdir}/yum.repos.d/Rocky-*.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/Rocky-*.repo
%config(noreplace) %{_sysconfdir}/dnf/vars/contentdir %config(noreplace) %{_sysconfdir}/dnf/vars/contentdir
@ -325,7 +325,7 @@ install -p -m 0644 %{SOURCE1226} %{buildroot}%{_sysconfdir}/yum.repos.d/
%config(noreplace) %{_sysconfdir}/dnf/vars/rltype %config(noreplace) %{_sysconfdir}/dnf/vars/rltype
%config(noreplace) %{_sysconfdir}/dnf/vars/stream %config(noreplace) %{_sysconfdir}/dnf/vars/stream
%files -n rocky-gpg-keys %files -n rocky-gpg-keys%{?rltype}
%{_sysconfdir}/pki/rpm-gpg/ %{_sysconfdir}/pki/rpm-gpg/
%changelog %changelog