The rpmbuild tag has no wiki summary.
2
votes
1answer
23 views
yum/RPM depend on generic package (like “provides” in other package managers)
I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
0
votes
1answer
30 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
42 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
32 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, ...
1
vote
1answer
1k 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
260 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
534 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 ...