Score
0
Watch 40 Star 110 Fork 14

Jasen / cetusCGPL-2.0

Clone or download
cetus-rpm.md
Copy Edit Raw Normal History
liuyanlei25   Add files via upload 2018-03-06
# Cetus rpm说明##  简介Cetus rpm打包流程及安装## 打包流程### 1. 创建打包环境```mkdir rpmbuild/cd rpmbuild/ mkdir -pv {BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS} ```### 2. 下载源码,压缩成tar.gz格式,放入SOURCES中```git clone http://githubtar zcvf cetus-version.tar.gz cetus-version/```### 3. 将cetus的原spec文件放入SPECS中,编辑sepc文件,修改版本号和释出号等信息```#版本号,与tar.gz包的一致Version:        version#释出号,也就是第几次制作rpmRelease:        release%{?dist}```### 4.增加日志段```%changelog* Week month day year packager<email> - cetus-version-release- do something```## 安装安装命令如下:```rpm -ivh --prefix /home/user/cetus_install cetus-version-release.el7.x86_64.rpm```
C
1
https://gitee.com/gitcrazy/cetus.git
git@gitee.com:gitcrazy/cetus.git
gitcrazy
cetus
cetus
e4d57a71b248e7de847733b5f126779530b5854a

Help Search