[Rpm-maint] [rpm-software-management/rpm] RPM won't create a subpackage when there is no %files section (Issue #3584)
Jindrich Novy
notifications at github.com
Wed Feb 19 14:35:51 UTC 2025
jnovy created an issue (rpm-software-management/rpm#3584)
**Describe the bug**
Any subpackage, even a meta-package which only ships dependencies and no files will fail to get generated quietly. The rpmbuild will end successfully but the declared subpackage is simply not created even though it's declared in spec file - if it is missing an empty %files section.
**To Reproduce**
Steps to reproduce the behavior:
1. define any meta package shipping only deps, no files
2. skip definition of %files in spec
3. build the spec - subpackage is missing.
Please link or attach the packages or spec files involved.
**Expected behavior**
A defined subpackage in spec should be generated despite missing %files section or rpmbuild should fail the build.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3584
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3584 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250219/ff6d4a36/attachment.htm>
More information about the Rpm-maint
mailing list