Fix kernel-tools sub-packages for variant builds
If you try rebuilding with a %variant set, you'll hit: error: line 2026: Package does not exist: %post -n kernel-tools In the %post defs, we had '%post -n kernel-tools', while the package was named simply '%package tools', which for the base kernel build, meant they worked out to the same thing, but if doing say a kernel-vanilla build, you had kernel-vanilla-tools and kernel-tools mismatching. This fixes the inconsistency. Signed-off-by: Jarod Wilson <jarod@redhat.com>
This commit is contained in:
parent
02a7d0ba14
commit
7220f8a9ca
19
kernel.spec
19
kernel.spec
@ -771,7 +771,7 @@ This package provides debug information for the perf python bindings.
|
|||||||
%endif # with_perf
|
%endif # with_perf
|
||||||
|
|
||||||
%if %{with_tools}
|
%if %{with_tools}
|
||||||
%package tools
|
%package -n kernel-tools
|
||||||
Summary: Assortment of tools for the Linux kernel
|
Summary: Assortment of tools for the Linux kernel
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -783,19 +783,19 @@ Obsoletes: cpufreq-utils < 1:009-0.6.p1
|
|||||||
Obsoletes: cpufrequtils < 1:009-0.6.p1
|
Obsoletes: cpufrequtils < 1:009-0.6.p1
|
||||||
Obsoletes: cpuspeed < 1:1.5-16
|
Obsoletes: cpuspeed < 1:1.5-16
|
||||||
Requires: kernel-tools-libs = %{version}-%{release}
|
Requires: kernel-tools-libs = %{version}-%{release}
|
||||||
%description tools
|
%description -n kernel-tools
|
||||||
This package contains the tools/ directory from the kernel source
|
This package contains the tools/ directory from the kernel source
|
||||||
and the supporting documentation.
|
and the supporting documentation.
|
||||||
|
|
||||||
%package tools-libs
|
%package -n kernel-tools-libs
|
||||||
Summary: Libraries for the kernels-tools
|
Summary: Libraries for the kernels-tools
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
%description tools-libs
|
%description -n kernel-tools-libs
|
||||||
This package contains the libraries built from the tools/ directory
|
This package contains the libraries built from the tools/ directory
|
||||||
from the kernel source.
|
from the kernel source.
|
||||||
|
|
||||||
%package tools-libs-devel
|
%package -n kernel-tools-libs-devel
|
||||||
Summary: Assortment of tools for the Linux kernel
|
Summary: Assortment of tools for the Linux kernel
|
||||||
Group: Development/System
|
Group: Development/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
@ -804,16 +804,16 @@ Provides: cpupowerutils-devel = 1:009-0.6.p1
|
|||||||
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
|
Obsoletes: cpupowerutils-devel < 1:009-0.6.p1
|
||||||
Requires: kernel-tools-libs = %{version}-%{release}
|
Requires: kernel-tools-libs = %{version}-%{release}
|
||||||
Provides: kernel-tools-devel
|
Provides: kernel-tools-devel
|
||||||
%description tools-libs-devel
|
%description -n kernel-tools-libs-devel
|
||||||
This package contains the development files for the tools/ directory from
|
This package contains the development files for the tools/ directory from
|
||||||
the kernel source.
|
the kernel source.
|
||||||
|
|
||||||
%package tools-debuginfo
|
%package -n kernel-tools-debuginfo
|
||||||
Summary: Debug information for package kernel-tools
|
Summary: Debug information for package kernel-tools
|
||||||
Group: Development/Debug
|
Group: Development/Debug
|
||||||
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
|
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
%description tools-debuginfo
|
%description -n kernel-tools-debuginfo
|
||||||
This package provides debug information for package kernel-tools.
|
This package provides debug information for package kernel-tools.
|
||||||
|
|
||||||
# Note that this pattern only works right to match the .build-id
|
# Note that this pattern only works right to match the .build-id
|
||||||
@ -2280,6 +2280,9 @@ fi
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 15 2015 Jarod Wilson <jwilson@fedoraproject.org>
|
||||||
|
- Fix kernel-tools sub-packages for variant builds
|
||||||
|
|
||||||
* Fri Mar 13 2015 Josh Boyer <jwboyer@fedoraproject.org>
|
* Fri Mar 13 2015 Josh Boyer <jwboyer@fedoraproject.org>
|
||||||
- Fix esrt build on aarch64
|
- Fix esrt build on aarch64
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user