From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
Gecko/20010726 Netscape6/6.1
Description of problem:
doing a rpm --rebuild iptables-1.2.2-3.src.rpm
generate the rpm corectly, but prints this errors when compiling it:
Can't do inplace edit: extensions is not a regular file, <> line 339.
Can't do inplace edit: include is not a regular file, <> line 339.
Can't do inplace edit: ippool is not a regular file, <> line 6170.
Can't do inplace edit: libipq is not a regular file, <> line 13919.
Can't do inplace edit: libiptc is not a regular file, <> line 13919.
Can't do inplace edit: libipulog is not a regular file, <> line 13919.
Can't do inplace edit: patch-o-matic is not a regular file, <> line 14277.
Can't do inplace edit: include/libippool is not a regular file, <> line 26392.
Can't do inplace edit: include/libipq is not a regular file, <> line 26392.
Can't do inplace edit: include/libiptc is not a regular file, <> line 26392.
Can't do inplace edit: include/libipulog is not a regular file, <> line 26392.
Can't do inplace edit: include/linux is not a regular file, <> line 26392.
Can't do inplace edit: patch-o-matic/ac-series is not a regular file, <>
line 37029.
+ exit 0
this is the line before:
Patch #1 (iptables-1.2.2-cvsfixes.patch):
+ patch -p1 -b --suffix .cvs -s
+ perl -pi -e s,/usr/local,/usr,g COPYING extensions include INSTALL
ip6tables.c
How reproducible:
Always
Steps to Reproduce:
1. In RH7.1 do:
2. rpm --rebuild iptables-1.2.2-3.src.rpm
3.
Additional info:

Don't worry about them.
The perl errors are generated by a quick-and-dirty script to replace all
references to /usr/local with /usr - and of course the sed call won't work
when it hits a directory.
The permission denied "bug" is intentional as well: we don't want the checks
to be run because we don't want the build process to make assumptions based on
our build machines.