Re: Didactic spec file suggestions?
"Michael A. Peters" <[email protected]> Sat, 27 Sep 2008 12:50:20 -0700
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
Adri=E1n M=E1rques wrote: > Hi all, >=20 > I'm just starting with RPM packaging. I've been reading around a lot an= d=20 > everyone recommends learning from working spec files of other projects.= =20 > I've also read comments about how it is not uncommon to find 'bad rpm=20 > practices' in some of these. > Right now I'm checking out spec files at random from JPackage (I have t= o=20 > package a java app). >=20 > Do any of you have suggestions on what freely-available spec files are=20 > worth checking out for a newcomer?=20 Take a look at the Fedora project packaging guidelines. Install rpmlint and use it to check your src.rpm and compiled rpms. Be aware - not all errors or warnings rpmlint finds are valid, but very=20 often they are.