1 Star 0 Fork 107

junhe_arm/openEuler-rpm-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
macros.package-notes-srpm 992 Bytes
一键复制 编辑 原始数据 按行查看 历史
# This file is part of the package-notes package.
#
# Add an ELF note with information about the package the code was compiled for.
# See https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
# for details.
#
# To opt out of the use of this feature completely, include this in the spec
# file:
#
# %undefine _package_note_flags
#
# Overall status: 1 if looks like we can insert the note, 0 otherwise
# Unfortunately "clang" does not support specs files so the note insertion is disabled when using it.
%_package_note_status %{!?_package_note_flags:0}%{?_package_note_flags:%[0%{?name:1} && "%_target_cpu" != "noarch" && "%{toolchain}" != "clang" ? 1 : 0]}
# The linker flags to be passed to the compiler to insert the notes section will
# be created by the spec file, to avoid issues with quoting and escaping across
# different build systems and shells.
%_package_note_flags %[%_package_note_status ? "-specs=/usr/lib/rpm/@VENDOR@/@VENDOR@-package-notes" : ""]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/junhe_arm/openEuler-rpm-config.git
git@gitee.com:junhe_arm/openEuler-rpm-config.git
junhe_arm
openEuler-rpm-config
openEuler-rpm-config
master

搜索帮助