[FZH] Fwd: [Guidelines change] Changes to the packaging guidelines

Zamir SUN zsun at fedoraproject.org
Wed Aug 5 04:38:42 UTC 2015


-------- Forwarded Message --------
Subject: [Guidelines change] Changes to the packaging guidelines
Date: Tue, 04 Aug 2015 16:34:06 -0500
From: Jason L Tibbitts III <tibbs在math.uh.edu>
Reply-To: devel在lists.fedoraproject.org
To: devel-announce在lists.fedoraproject.org

Here are the recent changes to the packaging guidelines.


The big change is that the Python guidelines have been extensively
reorganized and partially rewritten, and new macros are available which
simplify packaging by removing some of the boilerplate which was
previously required.

The main guideline page has been slimmed down to show the more basic
info and a clean and simple spec using the new macros which is free of
multiline conditionals.

boilerplate previously associated with python packages.  Some of the
more esoteric information has been moved to an appendix page to keep the
main page of reasonable size.

The new guidelines are currently only functional on Fedora 22 and newer
releases, but are currently in updates-testing for Fedora 21 and EPEL7.
The older guidelines are preserved in a separate page and we'll try to
keep them updated with new requirements.

The new guidelines page:
* https://fedoraproject.org/wiki/Packaging:Python

The appendix:
* https://fedoraproject.org/wiki/Packaging:Python_Appendix

The old guidelines:
* https://fedoraproject.org/wiki/Packaging:Python_Old

Note that these cleaned up pages (and the old copy) include some
new guidelines as well:

   There is new section indicating that -OO must not be used for python
   versions less than 3.5.
   * https://fedoraproject.org/wiki/Packaging:Python#Optimization

   There are requirements for what python module packages must provide
   (via Provides:):
   * https://fedoraproject.org/wiki/Packaging:Python#Provides

Related FPC tickets:
* https://fedorahosted.org/fpc/ticket/281
* https://fedorahosted.org/fpc/ticket/534
* https://fedorahosted.org/fpc/ticket/542
* https://fedorahosted.org/fpc/ticket/545
* https://fedorahosted.org/fpc/ticket/552


Guidelines have been added covering services which need to perform setup
when they are first started (including self-signed certificate



The guideline on spec file naming was moved into the main guidelines and
now requires that its name be constructed by taking the name of the
source package and appending ".spec".

* https://fedoraproject.org/wiki/Packaging:Guidelines#Spec_File_Naming
* https://fedorahosted.org/fpc/ticket/553


FPC can now grant exceptions to the regular package review procedures.

* https://fedorahosted.org/fpc/ticket/539
* https://fedorahosted.org/fesco/ticket/1435
devel-announce mailing list

More information about the Chinese mailing list