Exclude 10 specific subpackages < 10
This commit is contained in:
parent
0278a09fdf
commit
3500ea08fc
@ -99,6 +99,7 @@ Requires: perl-interpreter
|
|||||||
This package provides kernel headers and makefiles sufficient to build modules
|
This package provides kernel headers and makefiles sufficient to build modules
|
||||||
against the kernel package.
|
against the kernel package.
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 10
|
||||||
%package kernel%{?ksuffix}-modules
|
%package kernel%{?ksuffix}-modules
|
||||||
Summary: Pseudo package for kernel modules
|
Summary: Pseudo package for kernel modules
|
||||||
Group: System Environment/Kernel
|
Group: System Environment/Kernel
|
||||||
@ -140,6 +141,7 @@ AutoProv: yes
|
|||||||
%description kernel%{?ksuffix}-modules-extra
|
%description kernel%{?ksuffix}-modules-extra
|
||||||
This package provides pseudo dependency for the packages that depends on regular
|
This package provides pseudo dependency for the packages that depends on regular
|
||||||
kernel-modules-extra packages.
|
kernel-modules-extra packages.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_tools}
|
%if %{with_tools}
|
||||||
%package kernel%{?ksuffix}-tools
|
%package kernel%{?ksuffix}-tools
|
||||||
@ -447,6 +449,7 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/src/kernels/%{version}-%{release}
|
/usr/src/kernels/%{version}-%{release}
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 10
|
||||||
%files kernel%{?ksuffix}-modules
|
%files kernel%{?ksuffix}-modules
|
||||||
# empty package
|
# empty package
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -459,6 +462,7 @@ cp $(ls -1 /boot/config-kernel-*-*|sort -V|tail -1) /boot/config-kernel.inc
|
|||||||
# empty package
|
# empty package
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with_tools}
|
%if %{with_tools}
|
||||||
%files kernel%{?ksuffix}-tools -f cpupower.lang
|
%files kernel%{?ksuffix}-tools -f cpupower.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user