On Fri, Mar 15, 2002 at 08:11:53AM -0500, Jason 'vanRijn' Kasper wrote: > On Thu, 2002-03-14 at 18:00, Alexander Volovics wrote:
> > On Thu, Mar 14, 2002 at 09:36:02PM +0100, Yvon Thoraval wrote: > > > when rebuilding bbconfxxx.src.rpm, i get the followin error : > > > > > > RPM build errors: > > > File not found: /var/tmp/bbconf-1.4/usr/man/man1/bbconf.1 > > You probably have to edit the bbconf.spec file and include something > > like the lines: > > cd $RPM_BUILD_ROOT/%{prefix}/man > > [ -f man1/bbconf.1.gz ] || gzip man1/bbconf.1 > > after the line: > > # Build the file-list automagically :) > Um. This doesn't make sense. It seems that the build process is > failing because it's looking for "man1/bbconf.1", not > "man1/bbconf.1.gz". Why would it fix things to gzip the man page? And > I'm honestly very confused as to why this would fail anyway, since the > %files list is generated dynamically based on what files are actually > there. I can't explain it. I am not an rpm guru. All I can say is that under RedHat (7.2) the rpm macros seem to want to find a "man1/bbconf.1.gz" in the BUILD_ROOT and not "man1/bbconf.1". (all the man's included in the installed distro are gzipped). When rebuilding the bbconf src.rpm I got the same message as Yvon Thoraval: "File not found: /var/tmp/bbconf-1.4/usr/man/man1/bbconf.1" When I gzipped the man page first everything worked perfectly. Alexander