Revert "Append .debug to rawhide builds"
This reverts commit 0288b5115e
.
The way we have all the macros coded, this means all the paths need to end
with .debug, including the %kernel_variant_files macros. That gets ugly
rather quickly with the "simple" fix the above commit tried. An alternate
solution might be to override the variants built instead.
This commit is contained in:
parent
43a44e9595
commit
71c117f4fa
@ -1630,13 +1630,6 @@ BuildKernel() {
|
|||||||
# make sure EXTRAVERSION says what we want it to say
|
# make sure EXTRAVERSION says what we want it to say
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
|
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
|
||||||
|
|
||||||
%if !%{debugbuildsenabled}
|
|
||||||
%if !%{with_release}
|
|
||||||
# we're building a rawhide kernel where debug is the "norm".
|
|
||||||
perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = -%{release}.%{_target_cpu}${Flavour:+.${Flavour}}.debug/" Makefile
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
|
# if pre-rc1 devel kernel, must fix up PATCHLEVEL for our versioning scheme
|
||||||
%if !0%{?rcrev}
|
%if !0%{?rcrev}
|
||||||
%if 0%{?gitrev}
|
%if 0%{?gitrev}
|
||||||
|
Loading…
Reference in New Issue
Block a user