0
votes
0answers
32 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: $ ...
0
votes
1answer
45 views

Warning messages while building Apache server

I am building Apache server 2.4.6 from source and am not sure about a few warning messages I received during the rpm build process. The build completes OK and everything seems fine..BTW, this is on ...
4
votes
1answer
88 views

How to prevent installation of incompatible rpm packages

I have two rpm packages wich should not get installed together. After googling around i assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What ...
4
votes
1answer
113 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
2k 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 ...
1
vote
1answer
1k views

How to update crontab for a non-root user on Solaris non-interactively?

I would like to update crontab entries for a non-root user for an application which gets installed as OpenPKG RPM package. Currently I have this in the %post section of my .spec file: # # Set up the ...
3
votes
2answers
75 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 ...
2
votes
1answer
1k 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
228 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 ...