Noticed during the review of `rust-vhost-device-vsock` (bug #2299655] The generated `%{crate}-debuginfo` and `%{name}-debugsource` have no dependencies despite they're using directories owned by `filesystem` package, resulting in fedora-review complaining about unowned directories. I think both generated debuginfo and debugsource rpms should require as a minimum the filesystem package. Reproducible: Always
Yes, technically they should have that dependency. But these packages are generated in the rpmbuild binary directly and we don't want to hard code any Fedora package names there. Adding a dependency to the directory directly is also frowned upon lately. The debuginfo and debugsource generation will get an overhaul in some distant future where this issues might be addressed. For now it is more realistic to just not issue an error in fedora-review.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.