Hello, On Sat, 30 Jan 2010, doiggl@velocitynet.com.au wrote:
Hello, I made the change, %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
The compilation got much further then fell over with error
error: Could not open %files file /usr/src/packages/BUILD/namebench-1.1/filelist: No such file or directory
It looks like this has some influence here http://en.opensuse.org/Packaging/Python#File_lists [..] error: Could not open %files file /usr/src/packages/BUILD/namebench-1.1/filelist: No such file or directory
You need to use the filename you use with '--record-rpm='. %{__python} setup.py install \ --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES ... %files -f INSTALLED_FILES You had it right first (--record-rpm=filelist + %files -f filelist). -dnh -- "That's FORTRAN. You're not paying me enough to touch that." -- Espen Wiborg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org