0
votes
0answers
66 views

rpmbuild - File not found

I'm trying to build an RPM for Python 2.7.6 on CentOS 6.5, x86_64. The spec file used is slightly modified from that of the spec file in the Python-2.7.6 source. I am running the build like so: $ ...
-1
votes
1answer
123 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
151 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 \ ...
1
vote
2answers
3k 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
77 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
249 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 ...