:Buildfile: [mypath]/build.xml
...Copying 1 file to [mypath]\.rpm\SPECS
[rpm] Building the RPM based on the DataTransformation_UI.spec="rpm-prep" description="Creates Tarball and Builds rpm
在最新的版本中,我添加了一个新的RPM。在从旧版本升级的过程中,它工作得很好,因为我在主RPM的spec文件中添加了依赖项。下面是依赖关系树:RPM1 depends on RPM2
RPM1 depends on RPM2 and RPM3当我尝试yum upgrade RPM1时,Upgrade运行得很好。使
我需要像"foo-[RELEASE].rpm“这样的rpm文件的版本号。我试过这些命令package foo-[RELEASE].rpm is not installedrpm -qp --queryformat "[%{VERSION}\n]" foo-[RELEASE].rpm
我需要用版本号替换发行版占位符。