#897 Update guidelines/modules/ROOT/pages/index.adoc
Merged 4 years ago by ignatenkobrain. Opened 4 years ago by cheese.
Unknown source master  into  master

@@ -1631,7 +1631,7 @@

  * The packager can elect to fix the shebang lines manually, using patches, scripting via sed, or other similar methods.

  * The packager can remove the executable permission from the script so that the checks and modifications are not made.

  

- If (and only if) the script needs to remain executable and cannot be modified to pass the checks, then the maintainer MAY elect to disable the checks and modifications. It is also possible to disable the functionality for specific paths or for specific shebang lines by setting `+%__brp_mangle_shebangs_exclude_from+` and `+%__brp_mangle_shebangs_exclude+`, respectively, using the same syntax as the settings described in Packaging:AutoProvidesAndRequiresFiltering. It is also possible to disable the functionality entirely by adding `+%undefine __brp_mangle_shebangs+` near the beginning of the specfile.

+ If (and only if) the script needs to remain executable and cannot be modified to pass the checks, then the maintainer MAY elect to disable the checks and modifications. It is also possible to disable the functionality for specific paths or for specific shebang lines by setting `+%__brp_mangle_shebangs_exclude_from+` and `+%__brp_mangle_shebangs_exclude+`, respectively, using the same syntax as the settings described in xref:AutoProvidesAndRequiresFiltering.adoc[Packaging:AutoProvidesAndRequiresFiltering]. It is also possible to disable the functionality entirely by adding `+%undefine __brp_mangle_shebangs+` near the beginning of the specfile.

  

  == BRP (BuildRoot Policy) Scripts

  

Pull-Request has been merged by ignatenkobrain

4 years ago
Metadata