In my project I use --rcfile option for rpmbuild settings ... however with new rpm version (5.1.6) this option is not available ... how can I replace the rpmrc file with the new version .. Any doc for help ?
Here's the problem, I generated these 2 rpms that are dependent
Name: rpmtest
Version: 1.0.0
Release: 13
Name: rpmtestApp
Version: 1.0.0
Release: 13
Requires: rpmtest >= 1.0.0-13
this is for release 13 and I also generated the rpms for version…
i build a rpm called rsv-1.0, it will automatically install a rsv.cfg file to /etc when you install rsv-1.0.rpm
the package only contain one file etc/rsc.cfg
what if i want to do a change in the file rsv.cfg for a updated rpm say rsv-2.0.rpm
i…
I am building rpm package for internal software. It contains binaries and perl script/modules. During build process rpmbuild automatically scans perl code and builds dependency perl modules including DBD:mysql.
When I try to install the software…
I have a problem with my spec file. When I run it with rpmbuild it says it can't find ./configure no such file or directory. Here is a part of the code of my spec file. Can someone help me?
...
BuildRequires: gd-devel > 1.8, mailx, libjpeg-devel,…
I'm creating my own Nagios RPM but I'm new to packaging. My RPM file created successfully and i'm able to install it.
When going to localhost/nagios I'm not able to login.
This is my spec file
%define debug_package %{nil}
%define _prefix…
I'm currently packaging my program (roboJournal) for Fedora 18. When I start rpmbuild, my app compiles correctly but the process always fails at the installation step and no RPM packages are created. Here's the terminal output when the error…
I have a package, with the directories named lib, sample, api, doc under a parent directory %{name}-%{version}. I want to generate an RPM package out of these folders. This rpm package should unfold these directories under a client specified…
I am trying to build php from rpm source and it fails on centos 5 32bit. building of php 5.2.6. I get error as follows:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/php-5.2.6-2-root-root
error: Installed (but unpackaged)…
"%pre – This is where code is run before the install scripts run."
this section does not work for me .
I got a spec file from “http://repo.andrewfarley.com/centos/specs/zabbix.spec” . every thing is ok ,but the rpm package can not create the…
Maven noob here. We have tens of repos with POMs that build rpms and recently moved our CI system to CentOS 6. As a result rpm builds are no longer backwards compatible with RHEL 5. Apparently I need to state within the spec or the maven…
How can I add a file into an already existing rpm package?
Is there a way to extract the rpm and add the file and rebuild the package containing the new file?
I do the following on Fedora kernel src rpm :
(1) rpm -ivh kernel-xxx.rpm
(2) Go to ~/rpmbuild/SPECS dir
(2) rpmbuild -bp kernel.specs --nodeps
then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir
where in there are two source dir -
(1)…
I wish to generate a list of Perl modules an rpm provides in the spec file. It's not clear from the manuals how one does this. How does one set a field from a shell command? And how does one specify multiple values from one command? Something…
i want to print message at client side at time of uninstall like if error then i always print and if it is simple message like rpm uninstall successfully then it is optional .client use the option -v then it print (verbose other wise not)
rpm -ivh…