I'm trying to create /etc/rpmrc file in order to build my rpm's for my own distribution (LFS 6.1). I've just finished to write my spec file so I've just proved to build it. I had done rpmbuild -ba "nameofspec" but it looks for sources files in /usr/src/redhat... so I want to change topdir variable. I prove to create /etc/rpmrc but it always says bad option at /etc/rpmrc My rpmrc is exactly this: #configuration for rpm topdir: /usr/src/pc packager: Iñaki de la Fuente optflags: i386 -Os tmppath: /ust/tmp I'm using rpm4.1 and the errors are: error: bad option 'topdir' at /etc/rmprc error: bad option 'packager' at /etc/rpmrc ...... Can you help me? ------------------------------------------------------------------- Iñaki de la Fuente Cebrian ifuente@xxxxxxxxxxxx -------------------------------------------------------------------