Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openeuler_risc-v-fixing [2024/01/31 06:25] – Add short-circuited segment & fix multiple format misaka00251 | openeuler_risc-v-fixing [2024/04/03 03:55] (current) – Add noarch misaka00251 | ||
---|---|---|---|
Line 142: | Line 142: | ||
</ | </ | ||
+ | ===== expand macro ===== | ||
+ | |||
+ | <file spec example.spec> | ||
+ | %global common_description %{expand: | ||
+ | This package provides a set of C++ libraries for multimedia streaming, using | ||
+ | using open standard protocols (RTP/RTCP, RTSP, SIP). These libraries can be | ||
+ | used to build streaming applications. | ||
+ | |||
+ | The libraries can also be used to stream, receive, and process MPEG, H.263+ or | ||
+ | JPEG video, and several audio codecs. They can easily be extended to support | ||
+ | additional (audio and/or video) codecs, and can also be used to build basic | ||
+ | RTSP or SIP clients and servers, and have been used to add streaming support to | ||
+ | existing media player applications.} | ||
+ | |||
+ | %description | ||
+ | </ | ||
+ | |||
+ | ===== 碰到 noarch 怎么办 ===== | ||
+ | |||
+ | 如果遇到 " | ||
+ | |||
+ | 在包为 noarch 的情况下," | ||
+ | |||
+ | <file spec example.spec> | ||
+ | BuildArch: noarch | ||
+ | %if " | ||
+ | echo "Do Something" | ||
+ | %endif | ||
+ | </ |