summaryrefslogtreecommitdiffstats
path: root/kernel.spec
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2015-03-19 10:31:03 -0400
committerJarod Wilson <jarod@redhat.com>2015-03-19 10:31:03 -0400
commitb554910d7a1d5c737d39c99970026dc278b0049f (patch)
tree6ece5483af91cf4e1d343dbf8ada1a1c087c704c /kernel.spec
parent4751d6e9352bbd9e71bd14ad84aea21d800fda1e (diff)
downloadkernel-b554910d7a1d5c737d39c99970026dc278b0049f.tar.gz
kernel-b554910d7a1d5c737d39c99970026dc278b0049f.tar.xz
kernel-b554910d7a1d5c737d39c99970026dc278b0049f.zip
The package and description definitions should always match
The %package foo and %description foo bits should always match. If you use -n for one, use it for the other, and vice versa. Signed-off-by: Jarod Wilson <jarod@redhat.com>
Diffstat (limited to 'kernel.spec')
-rw-r--r--kernel.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel.spec b/kernel.spec
index 926a74976..c401b2fac 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -831,7 +831,7 @@ Group: Development/Debug\
Requires: %{name}-debuginfo-common-%{_target_cpu} = %{version}-%{release}\
Provides: %{name}%{?1:-%{1}}-debuginfo-%{_target_cpu} = %{version}-%{release}\
AutoReqProv: no\
-%description -n %{name}%{?1:-%{1}}-debuginfo\
+%description %{?1:%{1}-}debuginfo\
This package provides debug information for package %{name}%{?1:-%{1}}.\
This is required to use SystemTap with %{name}%{?1:-%{1}}-%{KVERREL}.\
%{expand:%%global debuginfo_args %{?debuginfo_args} -p '/.*/%%{KVERREL}%{?1:[+]%{1}}/.*|/.*%%{KVERREL}%{?1:\+%{1}}(\.debug)?' -o debuginfo%{?1}.list}\
@@ -853,7 +853,7 @@ Provides: installonlypkg(kernel)\
AutoReqProv: no\
Requires(pre): /usr/bin/find\
Requires: perl\
-%description -n kernel%{?variant}%{?1:-%{1}}-devel\
+%description %{?1:%{1}-}devel\
This package provides kernel headers and makefiles sufficient to build modules\
against the %{?2:%{2} }kernel package.\
%{nil}
@@ -875,7 +875,7 @@ Requires: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
AutoReq: no\
AutoProv: yes\
-%description -n kernel%{?variant}%{?1:-%{1}}-modules-extra\
+%description %{?1:%{1}-}modules-extra\
This package provides less commonly used kernel modules for the %{?2:%{2} }kernel package.\
%{nil}
@@ -895,7 +895,7 @@ Provides: kernel%{?1:-%{1}}-modules-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
Requires: kernel-uname-r = %{KVERREL}%{?variant}%{?1:+%{1}}\
AutoReq: no\
AutoProv: yes\
-%description -n kernel%{?variant}%{?1:-%{1}}-modules\
+%description %{?1:%{1}-}modules\
This package provides commonly used kernel modules for the %{?2:%{2}-}core kernel package.\
%{nil}