Feature changed by: Stephan Kulow (coolo) Feature #305727, revision 5 Title: rpmbuild build should warn about possibly by mistake %excluded files - openSUSE-11.2: Evaluation + openSUSE-11.2: Rejected by Stephan Kulow (coolo) + reject date: 2009-06-24 12:02:57 + reject reason: see comment Priority Requester: Desirable Requested by: Stephan Binner (beineri) 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. + Discussion: + #1: Stephan Kulow (coolo) (2009-06-24 12:02:38) + I claim it's the whole purpose of %exclude to be able to ignore + installed files. and so your feature doesn't make sense. -- openSUSE Feature: https://features.opensuse.org/305727