Feature added by: Stephan Binner (Beineri) Feature #305727, revision 1, last change by Title: rpmbuild build should warn about possibly by mistake %excluded files openSUSE-11.2: New Priority Requester: Desirable Requested by: Stephan Binner (beineri) Partner organization: openSUSE.org Description: If one works with %exclude macros in %files sections, esp with several sub-packages and wildcards in the %exclude statements, then it can easily happen that files installed to the RPM_BUILD_ROOT do not get packaged into a package at all. This case happens currently completely silent. rpmbuild should warn when an installed file gets only referenced by an %exclude statement but nowhere else. An option might be to make this warning a build error and to have a policy to allow installed files to be excluded from packages by well visible "rm $RPM_BUILD_ROOT/foo" calls within the .spec only. -- openSUSE Feature: https://features.opensuse.org/?rm=feature_show&id=305727