Description of problem: I'm getting an unpackaged files problem in trying to build wine from a source rpm: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/wine-root error: Installed (but unpackaged) file(s) found: /usr/share/aclocal/wine.m4 RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/aclocal/wine.m4 and it dies. /etc/rpm/macros has : cat /etc/rpm/macros %optflags -O2 -march=athlon-xp -m3dnow -msse %define _unpackaged_files_terminate_build 0 I even went into /usr/lib/rpm/macros: # # Should unpackaged files in a build root terminate a build? # # Note: The default value should be 0 for legacy compatibility. %_unpackaged_files_terminate_build 0 # # Should missing %doc files in the build directory terminate a build? # # Note: The default value should be 0 for legacy compatibility. %_missing_doc_files_terminate_build 0 # What am I missing? Version-Release number of selected component (if applicable): rpm -q rpm-build rpm-build-4.2-0.64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Yo need to delete the "%define", copy what's in /usr/lib/rpm/macros changing 1 to 0.
Yep. It turned out deleting the %define was half the problem. You need a tab - not a space - before the 0 ( or 1). thanks for the quick response.