Henry's Notebook
Many strange things
搜索
菜单
导航
首页
最近更改
随机页面
帮助
Henry's Home
个人资料
个人资料
创建账户
登录
消息
目前您没有通知。请访问您的
讨论页
以查看过去消息。
页面工具
内容页面
讨论
查看源代码
历史
首页
»
页面s
查看“OBS”的源代码
←
OBS
页面上次由
Nuk
编辑于1个月前
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:emailconfirmed
您可以查看与复制此页面的源代码。
本页保存一些Open Build System使用记录。 = OBS Software Packaging = * 只在Tumbleweed下执行命令 <pre> %if 0%{?suse_version} > 1600 <COMMAND_TO_EXECUTE_IN_TUMBLEWEED> %endif </pre> = OBS RPM Lint = == W:unstripped-binary-or-object == == W:no-soname == There is no DT_SONAME field defined in the so file. = RPM 宏定义查询 = * RPM Macros - /usr/lib/rpm/macros = osc 常用命令 = * 修改project的build target - osc meta prj -e home:nuklly * 修改project中某个package的metadata - osc meta pkg -e home:nuklly hplip * 删除project中的一个package - osc rdelete <package> = RPM = == Macros == === %setup === -q: quiet mode -T: disable unpacking the first source tarball -D: disable deleting the first source directory -n: specify the name of the tarball and its directory -b <n>: unpack %{S:n} before entering the first source directory -a <n>: unpack %{S:n} after entering the first source directory == Command Line Options == === 列出一个package的文件列表 === * rpm -ql $PACKAGE_NAME === 查询一个package的dependency === * rpm -qR $PACKAGE_NAME === 给一个文件(夹),查询它属于哪个package === * rpm -qf $FILE_NAME
返回至
OBS
。