
[英]Spec file: File is packed by rpm, but not getting installed in right destination
rpm -ql 列出了文件,但文件没有安装在目标机器的正确位置。 ...
[英]Spec file: File is packed by rpm, but not getting installed in right destination
rpm -ql 列出了文件,但文件没有安装在目标机器的正确位置。 ...
[英]Rpmbuild asks for extra dependencies
我正在尝试在 Centos 7 上构建 RPM。我正在使用以下 SPEC 文件将 Wildfly 应用程序放入 RPM。 在构建时,我注意到它采用了我没有在 SPEC 文件中定义的某些依赖项。 所以当我尝试在 Centos 7 机器上安装这个 RPM 时,它会抛出以下错误。 如何解决上述依赖问题。 ...
[英]How to block the auto append of architecture(x86_64) in rpmbuild
我正在尝试在 RHEL 8.4 操作系统上使用 rpmbuild 构建 RPM。 所有与 RPM 相关的细节都在 SPEC 文件中给出。 在“Processing file”阶段,architecture(x86_64)会自动附加在NVR的末尾。 处理文件:Application-Server ...
[英]Creating an rpm from files and folders from the current directory
我有一个具有以下结构的 GitLab 存储库: 我正在尝试并未能为此设置规范文件来构建我到目前为止可以使用的 rpm: 还有更多内容,但我认为目前不重要。 我可以在没有指定任何源的情况下在本地构建 rpm,但 src.rpm 失败,并带有要打包的空文件集。 如果我指定 Source1-5,我 ...
[英]Using rpm specfile to get files to be installed
我正在寻找一种解决方案来查询 RPM 规范文件以获取它安装的文件列表,最好不要构建包。 我试过rpmspec --queryformat '%{filenames}'但它只会导致(none) 示例测试规范: 测试运行: 预期结果: ...
[英]RPM build failed - could not find any valid magic files
我正在为我的一个项目生成 RPM,但是在处理 RPM 时它显示如下错误, 操作系统:CentOS Linux 7.4,我的系统中已经有了魔法文件。 我该如何解决这个问题? ...
[英]RPM spec file condition based on availability of a dependency
我想为捆绑某个库的应用程序创建一个交叉分发 RPM 规范文件。 该应用程序默认使用这个捆绑的库,但也提供了一个构建时选项来使用系统中安装的库版本。 如果 RPM 可用,我希望 RPM 将应用程序链接到系统库(因为这将使 package 更小,并且因为系统库比与应用程序捆绑的版本更频繁地获取安全补丁) ...
[英]rpm -i project fails with dependency issues for packages that are either already installed or don't seem to exist for my OS
我试图在 CentOS-7 上通过 rpm 部署一个相当大的 rpm 项目,但是当我运行“rpm -i rpm-project-1.0.0-1.0.0.x86_64”时,我得到了这个 output: 我知道这不是我的机器的问题,因为它成功安装了我之前制作的另一个项目 rpm。 一些依赖失败是在已经安 ...
[英]MariaDB connector OBC Build- Driver manager was not found
I am trying to build the RPM from the source https://downloads.mariadb.org/connector-odbc/3.0.8/ on SUSE Linux following mariadb homepage https://mar ...
[英]rpmlint: "W: no-version-in-last-changelog"
在 SLES12 中构建 RPM 时,我使用rpmlint检查规范文件和包。 我总是收到警告W: no-version-in-last-changelog ,但我无法解释: 我的%changelog的最后几行内容如下 * Tue Jul 11 2011 My Self <my.email@a ...
[英]rpm.spec hide warning that comes after %post
我正在尝试解决这个问题几天,但仍然没有... 例如,假设这是我的upgrade.sh: 这是我的rpm.spec文件: 现在我得到了example.rpm文件。 在我运行命令 rpm -U example.rpm 这是 output 我得到: 升级后一切正常,我唯一的问题是我不想显示在命令完成后出现 ...
[英]Building rpm - File not found by glob:
我想生成一个 rpm package (Redhat),当我启动命令时出现错误: rpmbuild -ba librabbitmq.spec 处理文件:librabbitmq1-0.10.0-0.x86_64 错误:glob 找不到文件:/root/rpmbuild/BUILDROOT/libra ...
[英]Building RPM from source, how to install packages required to build in spec file
我是构建RPM包和为此编写spec文件的新手。 我必须编写一个规范文件,用于从用 golang 编写的github源代码golang 。 我没有安装golang,而是尝试下载tar并解压缩并使用它,因为生产系统中不允许安装它。 一切正常,除了当我尝试使用bin/go build构建代码时,它失败并出 ...
[英]GitHub Actions building RPM
目前我正在尝试如何使用 GitHub Actions 构建 RPM。 但我总是收到此错误消息: The process '/usr/bin/cp' failed with exit code 1 这是我的操作的链接: https://github.com/Robs-Organisation/Robs ...
[英]rpmbuild requires depending on the OS version where the rpm will be installed
我正在用 rpmbuild 构建一个 rpm。 已经构建的 rpm 将安装在 rhel6、rhel7 或 rhel8 机器上。 在 rhel8 上,需要一些在其他发行版本(rhel6 和 rhel7)中不需要的依赖项。 在包的名称上使用条件(如下)不是一个选项。 我想在规范文件中做的是这样的: 如何 ...
[英]Any way to override RPM Spec file through command line arguments?
我正在使用一个安装了大约 2000 RPMS 的系统。 现在,根据一些新要求,我需要构建一个包含 RPMS 的新系统映像,以便安装的所有 RPMS 都必须随附进入该 RPM 的每个二进制文件的 HMAC 文件。 本质上,我需要一种机制来计算 HMAC 并为该文件添加包含 HMAC 的文件,这适用于 ...
[英]What are the correct commands in rpm.spec to set-up the systemd preset
我的程序中有几个单元,例如: 程序.服务程序清理服务程序-cleanup.timer ... 以及一个“program-cleanup.preset”文件,它只是说: 我无法理解我应该如何在此处设置文件。 目前我的 rpm.spec 运行以下命令: 我是否需要在 .spec 文件的%post部分运 ...
[英]rpmbuild unable to find files
我在创建的规范文件中遇到问题,无法在 tar.gz 文件中找到文件。 我已经在这里转储了规范文件的内容。 tar.gz 文件位于 ~/rpmbuild/SOURCES。 我也会把焦油清单放在下面。 这是tar文件的output 这是错误消息 提前致谢! ...
[英]Build rpm with scripts, spec %prep error, build failed
我正在尝试构建具有两个脚本的 rpm,安装到 /usr/libexec。 这是我的规格有构建错误。 我在这个规范上做错了什么? 这是我得到的错误。 ...
[英]How do I modify rpm spec file to install a tarball to specific directory?
我想将 gstatus 安装到 /usr/local/gstatus/gstatus-0.66。 原始 tarball 将其安装到 <current_path>/gstatus-0.66。 如何修改规范以使其安装到正确的位置? 原始规格: /usr/local 确实存在,但我需要创建 ...