Hi, On Wednesday, May 17, 2006 at 16:48:22, andreas.hanke@gmx-topmail.de wrote:
are there any generic packaging "style" guidelines for SUSE Linux packages?
Nope not really. There are the SUSE package conventions. This document has a small part on specfile style. But not too deep.
More precisely, I have the following questions:
- Is %buildroot preferred over $RPM_BUILD_ROOT?
- Is %configure preferred over ./configure?
Use what fits you most here.
- %optflags / $RPM_OPT_FLAGS again:
Are they "nice to have" things or is not using them a bug that should be reported?
RPM_OPT_FLAGS are mandatory.
- run-time and -devel packages
Is there a general rule for splitting or not splitting library packages into run-time and -devel subpackages?
Yes kind of. Always do it except the resulting -devel package is so small that it makes no sense. Each package slows down building and installing the system. Henne -- Henne Vogelsang, http://hennevogel.de "To die. In the rain. Alone." Ernest Hemingway