From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 Description of problem: I had an old spec file (i.e. it used to work) which mentioned a change to the "%install" section within the %changelog. Running this through rpmbuild causes the changelog comment to be parsed as the start of the %install section, and the real %install tag is then seen as a second %install section. rpmbuild then complains about this, and doesn't build anything. Version-Release number of selected component (if applicable): rpm-build-4.2.3-13 How reproducible: Always Steps to Reproduce: 1. Put a comment in %changelog saying something about %install 2. Run rpmbuild on that spec file 3. Watch it fail... Actual Results: rpmbuild complains & doesn't do anything Expected Results: rpmbuild should have built the rpms Additional info:
Macros get expanded everywhere use %%install to escape in changelog, etc What version of rpm was this known to work with.
Sorry, don't know which version. This file has been sat on my machine for quite some time :-) I'll use the %% workaround. Vic.
It's been like this for quite some time - eg: http://www.redhat.com/archives/rpm-list/2000-September/msg00209.html It does bite people when they first hit it but once you know that macros are expanded everywhere (in comments, changelog, etc) then people don't forget.