fredagen den 16 april 2004 09.10 skrev Michael Bell: > Oden Eriksson wrote: > > torsdagen den 15 april 2004 15.19 skrev Michael Bell: > > > > I used parts from your latest suse spec files from this url (thanks!): > > > > ftp.cert.dfn.de/pub/pca/tools/openca/developers/bell/suse/8.2/openca_0_9_ > >2_RC_3/ > > > > The main thing that differs from yours is that I use case sensitive > > naming of the external perl modules like "perl-OpenCA-OpenSSL". Also I > > use spec file magic and uses only one spec file (and one source tar ball) > > for producing all the openca-* stuff. This is how: > > Now I have two questions. First usually I'm not a package maintainer for > RPMs so does it be common practice to use case sensitive names for RPM > packages? I do this for the first generation of RPMs too but then I > removed all big letters to avoid build problems. If it is common > practice for RPM to use case sensitive names then I have to update my > spec files. Second can you send me your single specfile please? I never > worked with something called "spec file magic" or build several packages > with one spec file. This would reduce the trouble with the maintenance > dramatically.
The naming for the perl modules is for legacy reasons only I think, at least in Mandrake and possible RedHat too. "spec file magic" is just an expression when you have to use special tricks to make it build. In the case with OpenCA you wouldn't have to use "magic" to build it, if the make install procedure did not prevent you from installing certain files if others were found in the install path. > > One needs to be able to build packages as non root, so I use this before > > make install: > > > > On one single line: > > find -name "Makefile*" | xargs perl -pi -e "s|-o \\\${httpd_user}||g;s|-g > > \\\${httpd_group}||g;s|-o \\\${openca_user}||;s|- > > g \\\${openca_group}||g" > > > > Of course one needs to know the exact ownership (and file access rights) > > in the %files section for each sub package. > > Sounds like a lot of work. Yes. -- Regards // Oden Eriksson ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel