[Guidelines change] Changes to the packaging guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here are the recent changes to the packaging guidelines.

-----

In Fedora 28 (and rawhide), the texinfo scriptlets (which call
install-info) are no longer necessary and should be removed or, for
cross-release specfiles, wrapped in conditionals. Note that there are
nearly 300 specs currently calling install-info in scriptlets; lists of
these packages will be posted separately to the devel list.

* https://fedoraproject.org/wiki/Packaging:Scriptlets#Texinfo
* https://pagure.io/packaging-committee/issue/773

-----

The section of the Python packaging appendix relating to manual byte
compilation has been amended with a new section applying to Fedora 29
and newer only. Because this is a rarely-trafficked section of the
guidelines and the change mandates modifications to a number of
packages, I will summarize here:

If your package installs files with names ending in ".py" outside of the
standard directories for python files (/usr/lib(64)?/python\d.\d) then
in rawhide you must disable automatic byte compilation of files outside
of these directories by adding "%global _python_bytecompile_extra 0" to
your spec and then, if necessary, manually byte-compile those files with
a specific python version using the %py_byte_compile macro.

There are 479 packages which will need attention to fix this before the
default value of %_python_bytecompile_extra becomes 0 (and potentially
breaks many of those packages) in a future release. Lists of these
packages will be posted separately on the devel list.

* https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
* https://pagure.io/packaging-committee/issue/772

-----

A new guideline page relating to package deprecation has been added, and both the main guidelines and review guidelines have been updated to reference it.

* https://fedoraproject.org/wiki/Packaging:Deprecating_Packages
* https://fedoraproject.org/wiki/Packaging:Guidelines#Deprecating_Packages
* https://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Things_To_Check_On_Review
* https://pagure.io/packaging-committee/issue/723
_______________________________________________
devel-announce mailing list -- devel-announce@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel-announce@xxxxxxxxxxxxxxxxxxxxxxx/message/4LOZKTTCTKJAT4D7FVSN7X3WVDSUVBG2/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/4LOZKTTCTKJAT4D7FVSN7X3WVDSUVBG2/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux