-1
votes
1answer
177 views

Building debuginfo RPM at alternate prefix

I have an RPM that I'm building to install at an alternate root via %define _prefix /home/other/root This works fine for the binary package. The -debuginfo package, however, still lists all of its ...
4
votes
1answer
220 views

How to escape spaces in an rpm spec “source” item?

I'm trying to build an RPM, but the source file from the vendor has a space in the filename, and there doesn't seem to be any good way to escape the filename so that it builds. I've tried putting a \ ...
2
votes
3answers
4k views

Reference for RPM spec macros (%setup, %buildroot, etc)

Which man page describes the usage of the top-level RPM spec file macros that are defined in RPM source files directly? I mean, %setup, %buildroot and the like, which are not in /usr/lib/rpm. Looking ...
3
votes
2answers
83 views

RPM package naming for alternative configurations

I currently install PHP from source in several different configurations around my environment, each providing the minimum feature set required for its particular deployment: one deployment requires ...
3
votes
1answer
2k views

RPM Spec How to specify in package so that previous RPM is removed

Question: What do I put in the foo.spec file so that the rpm's will remove the previous rpm before installing? Description: I have created a spec file that creates rpm's for a few packages that use ...
1
vote
0answers
266 views

Mock build system error: sh: ruby: command not found

I am trying to build a RPM using the mock build system. However, the shell in the mock environment cannot seem to find the ruby command. I run in to a build error: sh: ruby: command not found I can ...