def check_package_relocatable(workdir, spec, allow_root):
    '\n    Check if package binaries are relocatable.\n    Change links to placeholder links.\n    '
    buildinfo = read_buildinfo_file(workdir)
    cur_path_names = list()
    for filename in buildinfo['relocate_binaries']:
        cur_path_names.append(os.path.join(workdir, filename))
    relocate.check_files_relocatable(cur_path_names, allow_root)
Check if package binaries are relocatable.
Change links to placeholder links.
def check_package_relocatable(workdir, spec, allow_root):
    '\n    Check if package binaries are relocatable.\n    Change links to placeholder links.\n    '
    buildinfo = read_buildinfo_file(workdir)
    cur_path_names = list()
    for filename in buildinfo['relocate_binaries']:
        cur_path_names.append(os.path.join(workdir, filename))
    relocate.check_files_relocatable(cur_path_names, allow_root)