From 322fd7b534acc8d212c6a18dcec95590e96ec4c1 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Jul 09 2021 11:32:02 +0000 Subject: Removed the requirement to run check-rpaths as that is now done automatically. --- diff --git a/guidelines/modules/ROOT/pages/Ada.adoc b/guidelines/modules/ROOT/pages/Ada.adoc index 4edce9f..de27b4e 100644 --- a/guidelines/modules/ROOT/pages/Ada.adoc +++ b/guidelines/modules/ROOT/pages/Ada.adoc @@ -58,10 +58,8 @@ and they may rely on an automatic runpath for this. In those cases the spec file may define a macro named +++GNAT_add_rpath+++. The builders will then be allowed to add a runpath in those parts of the spec file where +++GNAT_add_rpath+++ is defined. -Packages that contain Ada code *SHOULD* run `+%{_rpmconfigdir}/check-rpaths+` as the last thing in the `+%check+` section. -This is a precaution against packaging bugs and toolchain bugs that would cause binaries with runpaths to end up in packages. -All packages that use +++GNAT_add_rpath+++ *MUST* do this -(and must therefore have a `+%check+` section). +NOTE: +++GNAT_add_rpath+++ does not exempt a package from the Packaging Guidelines. +link:../#_beware_of_rpath[The policy on runpaths] still applies. == Devel packages