|
From: Joe Z. <jz...@co...> - 2004-02-05 04:16:14
|
bishop wrote: > http://cvs.sourceforge.net/viewcvs.py/bobs/bobs/bobs.spec?view=markup > > Joe, > > I've been looking over the SPEC file again, in cvs. The link's up > there. I'm growing a bit less confident that it'll rebuild, however: > >> %defattr(-, %{HTTPDUSER}, root) > > > The first thing that caught my eye is that bit of code about 10 lines > from the bottom. On my stock RH9 box, %{HTTPDUSER} isn't defined. > >> Patch0: config.patch >> Patch1: backup.patch >> Patch2: check_loop.patch > > > These files, referenced in the SPEC, are also missing. Take a look at Makefile.am. It sets the HTTPDUSER variable and creates the patches as part of the 'make rpm'. You can create the patches by running './configure; make dist'. I admit I did some unconventional things because I had to 1) modify /etc/crontab 2) determine the user httpd is running under so I could chown the directories and 3) put things in various odd directories. Much of it could have been done easier with an install script, but I wanted to learn the 'make' process and tried to stick to it and use it's defaults as much as possible. The patches are there because 'make rpm' was putting the temporary rpm "build" directory names in the variables. It's ugly but there it is. I'm sure there's a cleaner way. > > Finally, is there any way I can convince you and Rene to drop the use > of 'pre' versioning? It's a real bit of hacking to work around in > packaging, and, thanks to epoch: pain, the kind of gift that keeps on > giving. > > - bish What do you mean by 'pre' versioning? You mean putting 'pre' as part of the package name? Is epoch software? You won't have a hard time convincing me to drop it. Joe |