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.
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.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- 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