From: Jan Stancek <[email protected]>

kernel.spec: skip kernel meta package when building without up

We already don't build core and modules, skip also meta-package.
It also provides 'kernel', which can confuse dnf trying to find
best match and that failing on core and modules subpackages.

Signed-off-by: Jan Stancek <[email protected]>

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -3289,9 +3289,11 @@ fi
 %endif
 
 # empty meta-package
+%if %{with_up}
 %ifnarch %nobuildarches noarch
 %files
 %endif
+%endif
 
 # This is %%{image_install_path} on an arch where that includes ELF files,
 # or empty otherwise.

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2460
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to