Standards And Packaging Guidelines No Further a Mystery
Abide by these basic specifications when transport units to Amazon fulfillment centers. Certain solutions produce other particular demands.
/sbin/ifconfig If you are a packager who employs file dependencies to Have to have the appropriate dependencies You then might have to make certain that the file dependencies are pointing to the location that the packager of that file specified to rpm. Here is an illustration of performing this:
Be aware: For those who simply call perl or python in your spec file (and It's not necessarily currently a BuildRequires for that offer), you need to explicitly include a BuildRequires for perl or python. %international desired more than %outline
Static libraries only. Whenever a package deal only gives static libraries you MAY location every one of the static library information within the *-devel subpackage. When executing this you also MUST have a virtual Give for that *-static deal:
The first creator of those documents is Tom 'place' Callaway, even though they were originally based on a number of other files. They are actually substantially modified through the years by several members on the Packaging Committee.
For the extent feasible, the label really should be put in such a way that if the pack is damaged aside, the label is discarded (for instance, dangle the Grasp Label from banding or connect to extend wrap).
There are actually specific, security related flags that are generally permitted. These flags may perhaps degrade functionality marginally but the elevated protection might be worthwhile for some programs. PIE
The intent is Any time doable, packages will go far from using these static libraries, to your shared libraries. Should the *-static subpackage necessitates headers or other files from *-devel to be able to be beneficial it Should involve the *-devel subpackage.
to ensure that none of such arguments are current from the visit this web-site rpmbuild command line. The reason is All those prerequisites get "serialized" in to the ensuing supply RPM, ie. the conditionals not implement.
If you end up in the circumstance where by the primary package depends on the subpackage as well as subpackage on the main package you ought to consider carefully about why you don't have every thing in the leading offer.
– Guide Substance Managing Guidelines The next standards are actually adopted from research guidelines and rules made to decrease the chance aspects affiliated with leading to back again injuries:
Packages which use the header library should BuildRequire: foo-static, so that the usage can be tracked. Usually do not use noarch
/usr/lib aka % _prefix /lib As an example, stop users will see that /bin/sh is the same file as /usr/bin/sh.
Some software program (normally relevant to compilers or cross-compiler environments) can't be created without the use of a previous toolchain or advancement surroundings (open source). When you've got a package deal which fulfills this requirements, contact the Fedora Packaging Committee for acceptance. Remember to note this exception, if granted, is limited to only the Preliminary Establish of the offer. It's possible you'll bootstrap this Construct using a "bootstrap" pre-created binary, but after This really is complete, it's essential to promptly increment Launch, fall the "bootstrap" pre-crafted binary, and Establish absolutely from supply.