Skip to content

Commit 5ee82c7

Browse files
committed
spec: fix spec warning for /usr/include/ynl
JIRA: https://issues.redhat.com/browse/RHEL-101712 upstream: commit 0e2ccfd3e31eb0c3c7dde558daeb1b71256a146e Author: Jan Stancek <jstancek@redhat.com> Date: Fri May 30 03:37:12 2025 -0400 With the combination of build options "--without realtime --without debug --without debuginfo --without ynl --without doc" in ELN, build produces a warning: RPM build warnings: File not found: /builddir/build/BUILD/kernel-6.16.0-build/BUILDROOT/usr/include/ynl Put the exclude behind %{with_ynl} to avoid the warning. Signed-off-by: Alexandra Hájková <ahajkova@redhat.com>
1 parent 1840239 commit 5ee82c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redhat/kernel.spec.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3915,8 +3915,10 @@ fi\
39153915
%files headers
39163916
/usr/include/*
39173917
%exclude %{_includedir}/cpufreq.h
3918+
%if %{with_ynl}
39183919
%exclude %{_includedir}/ynl
39193920
%endif
3921+
%endif
39203922

39213923
%if %{with_cross_headers}
39223924
%files cross-headers

0 commit comments

Comments
 (0)