Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
23 views

Fetch a variable value from the target server in RPM

I want to read a variable value from the target server in the %install script. When I try to package the script, it searches the file where I am packaging and fails to find it. Is there any option to ...
1
vote
1answer
30 views

How to know the version of RPM during installation

I have created a script for deployment using YUM and RPM. During the pre script, is it possible to know whats the version of the rpm I am deploying. I want to create a backup file with the version ...
0
votes
0answers
21 views

%{upstream_source} error with rpmbuild

Here 's what I 'm getting. I can't understand what the problem is (not enough rpm experienced). Installing MariaDB-5.2.7-101.el5.src.rpm warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, ...
0
votes
0answers
106 views

Error while installing rpm-build Setting up Install Process

I am doing package using rpm but I'm getting the following error: :~# yum install rpm-build Setting up Install Process No package rpm-build available. Nothing to do
1
vote
1answer
961 views

Is it possible to modify/rebuild an rpm without the srpm?

I have an rpm for which I need to change the preinstal scriptlet for testing. However, I do not have the SRPM from which is was built. Is it possible to change the scriptlet and/or rebuild the rpm ...
0
votes
1answer
229 views

How do I prevent rpmbuild form injecting requirements into RPM package?

I'm creating an RPM package from native Python 2.5 one. Out corporate policy is to use python2.4 by default, so I'm adding a string Requires: python25 to a .spec file. When I look at created RPM ...
0
votes
1answer
492 views

How does RPM determine newer package

I have taken the Apache httpd 2.2.3 SRPM and extracted the .spec file. From this I've replaced 2.2.3 with 2.2.14 and removed the Serial tag from the specfile (as rpmbuild complained about the Serial ...