Hello, Fedora Packaging Guidelines allow dependencies only on files/directories from /usr/bin, /usr/sbin and /etc directories[0]. Your package depends on files/directories outside of those. See below for more information about package/dependencies. --- perl-File-LibMagic-1.16-6.fc31.src: - /usr/include/magic.h --- Please correct those or provide reason why is it correct. It is very important to not download huge filelists.xml just because few packages in distribution depend on non-standard paths. Thanks for cooperation! [0] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
Well that one's been there since before I took over the package. I could have sworn there was language in the guidelines about file/dir Requires being deprecated but not necessarily BuildRequires like this one, but I can't see anything about that even in old guidelines. Typically I'd use a file build dependency like this when the file concerned had moved between packages, thus avoiding a conditional. Anyway, none of that matters in this case. Fixed in Rawhide: https://src.fedoraproject.org/rpms/perl-File-LibMagic/c/4e812a8b