Эльбрус/rtc/перепаковка
rtc-storcli
Пример упакечивания статического x86-бинарника для запуска под rtc.
Name: rtc-storcli Version: 1704 Release: alt1.E2K.1 Summary: storcli repackaged for use with rtc License: proprietary Group: System/Configuration/Hardware Source: storcli64 AutoReqProv: no Requires: rtc >= 4.1-alt1.E2K.5 %define scdir %prefix/libexec %add_debuginfo_skiplist %scdir %set_verify_elf_method none %description %summary %prep %build cat > storcli64.sh << EOF #!/bin/sh exec rtc64 --path_prefix / -- %scdir/storcli64 "\$@" EOF %install install -pDm755 %SOURCE0 %buildroot%scdir/storcli64 install -pDm755 storcli64.sh %buildroot%_sbindir/storcli64 %files %_sbindir/* %scdir/storcli64 %changelog * Fri Oct 14 2022 Michael Shigorin <mike@altlinux.org> 1704-alt1.E2K.1 - initial repackage