代码拉取完成,页面将自动刷新
12
update the method of obtaining and building the aws-sdk-cpp package
已合并
标题:update the method of obtaining and building the aws-sdk-cpp package.
背景:aws-sdk-cpp 的包大小和官方链接下载得到的包大小不一致
原因:见引用部分
现象:见引用部分
原因:下载得到的包不包括CRT依赖,需要执行包中的脚本下载依赖,由于下载大小偏大且下载源不太稳定,因此手动下载后重新压缩源码包
现象:下载CRT依赖前包大小:58MB;下载CRT依赖后包大小:243MB
解决办法:
(1)修改包的spec部分,修改为通过 git clone https://github.com/aws/aws-sdk-cpp -b %%{version} --recurse-submodules --depth=1
的方式
(2)重新上传tarball,通过(1)获取到源码后,修改为使用 git-archive-all.sh --format tar --prefix aws-sdk-cpp-%%{version}/ aws-sdk-cpp-%%{version}.tar && xz aws-sdk-cpp-%%{version}.tar
的方式