修包笔记

This is an old revision of the document!


修包笔记

yaml

如果 version_controlgit,那么 src_repo 就要填写完整的地址。

version_control: github
src_repo: KDE/kweathercore
tag_prefix: "^v"
separator: "."

upstream 源码包名字跟仓内不一样

以 aom 包为例:

Source0:    https://aomedia.googlesource.com/%{name}/+archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz

KDE 系列包

目前有宏了,之前没有宏的话需要这样:

%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
%make_build -C %{_target_platform}

%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
openeuler_risc-v-fixing.1703059680.txt.gz · Last modified: 2023/12/20 08:08 by misaka00251
CC Attribution-Share Alike 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International