#1082 Adjust the Ada Packaging Guidelines to the check-rpaths change.
Merged 2 years ago by tibbs. Opened 2 years ago by rombobeorn.
rombobeorn/packaging-committee master  into  master

@@ -58,10 +58,8 @@ 

  In those cases the spec file may define a macro named +++<var>GNAT_add_rpath</var>+++.

  The builders will then be allowed to add a runpath in those parts of the spec file where +++<var>GNAT_add_rpath</var>+++ 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 +++<var>GNAT_add_rpath</var>+++ *MUST* do this

- (and must therefore have a `+%check+` section).

+ NOTE: +++<var>GNAT_add_rpath</var>+++ does not exempt a package from the Packaging Guidelines.

+ link:../#_beware_of_rpath[The policy on runpaths] still applies.

  

  == Devel packages

  

Now that check-rpaths is run automatically for all packages (https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild), there is no longer any need to run it explicitly for Ada packages.

Pull-Request has been merged by tibbs

2 years ago
Metadata