📅  最后修改于: 2022-03-11 14:56:42.406000             🧑  作者: Mango
Create a file “script.attr” in _fileattrsdir (default: /usr/lib/rpm/fileattrs/) with this content:
%__script_requires %{_rpmconfigdir}/script.req
%__script_magic ^.* script[, ].*$
%__script_flags exeonly