Sync modules-load conditionals
ELN tracks rawhide and therefore is new enough for this. Either way, the %files listing needs to use the same conditional.
This commit is contained in:
parent
179d182184
commit
c82d37a5b3
@ -402,7 +402,7 @@ PODMAN_VERSION=%{version} %{__make} PREFIX=%{buildroot}%{_prefix} ETCDIR=%{build
|
|||||||
install.docker \
|
install.docker \
|
||||||
install.docker-docs \
|
install.docker-docs \
|
||||||
install.remote \
|
install.remote \
|
||||||
%if 0%{?fedora} >= 36
|
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 10
|
||||||
install.modules-load
|
install.modules-load
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -448,7 +448,9 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
|
|||||||
%{_tmpfilesdir}/%{name}.conf
|
%{_tmpfilesdir}/%{name}.conf
|
||||||
%{_systemdgeneratordir}/%{name}-system-generator
|
%{_systemdgeneratordir}/%{name}-system-generator
|
||||||
%{_systemdusergeneratordir}/%{name}-user-generator
|
%{_systemdusergeneratordir}/%{name}-user-generator
|
||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 10
|
||||||
%{_modulesloaddir}/%{name}-iptables.conf
|
%{_modulesloaddir}/%{name}-iptables.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
%files docker
|
%files docker
|
||||||
%{_bindir}/docker
|
%{_bindir}/docker
|
||||||
|
Loading…
Reference in New Issue
Block a user