How to determine the OS version for which was compiled rpm?
Hi all. How can i determine the Linux version (distribution) for which was compiled rpm packet? ...
Hi all. How can i determine the Linux version (distribution) for which was compiled rpm packet? ...
Is it a good idea to build RPMs and Debian packages on Cygwin? Our release server is windows, so our options are either that or start up VMs with linux to handle the task. I'm just not sure if VMs are taking a nuclear bomb to an ant. Is there a way to do the building in Cygwin? If so, how? So far I've found some clues...apparently Cygwi...
I'm migrating my Sun Solaris packages to rpm redhat. During the installation of a Solaris package it's possible to specify a so-called response file, which allows to set variables during the installation of the package. The Solaris pkgadd command looks e.g. like that one pkgadd -r myresponse.txt -d mypackage.pkg Is there a similar mec...
I'm working on an RPM spec for centos and it needs to install the shared libraries to /usr/lib64 if the arch is 64 bit and /usr/lib otherwise? ...
We have to compile binary RPMs for both architectures (i386 and x86_64) for centos. When we want to install both, we have conflicts on common files (like in /usr/include, /bin, ...) Is there .spec creation rules that help avoiding these conflicts ? ...
I'm trying to find out how I can compare 2 lists of RPMS (Currently installed) and (Available in local repository) and see which RPMS are out of date. I've been tinkering with regex but there are so many different naming standards for RPMS that i can't get a good list to work with. I don't have the actual RPMS on my drive so i can't do r...
I've read over this question and I think that is a great start, but I'm looking for more insight. I have written an application using Python 2.6 and Django 1.2.1. I would like to deploy this application on a system that does not have Python 2.6 or Django installed. The system itself doesn't have many things installed - sqlite3, pysqlite...
http://www.rpm.org/max-rpm-snapshot/s1-rpm-subpack-spec-file-changes.html Name: foo Version: 2.7 Release: 1 Source: foo-2.7.tgz License: probably not Summary: The foo app, and the baz library needed to build it Group: bogus/junque %description This is the long description of the foo app, and the baz library needed to build it... %packa...
i have a rpm package, and i need to extract some files from it. The package is not relocatable, i have try "rpm --root/--prefix", which doesn't work. what methods i should take to do the extraction? Thank In Advace. ...
I'm trying to build an RPM that will install file dependencies if they don't exist. Is there an RPM Spec Section that will be executed before the RPM checks for dependencies. (I'm refering to file dependencies not package dependencies listed in the "Requires" header). Example: If I have a perl file and the execution permissions bit is s...
In my install section of my rpm Spec file I have a bunch of mkdir's to create the directories I need. The ones that don't have any files installed in them get pruned out in the end and don't end up getting created. How can I ensure that the empty directories get created when it is all said and done? ...
The following code uses the rpm module to query the version of an installed package. What I would like to do is to query a set of packages specified by a glob, for example searching for "python*" rather than "python". Is this possible using the rpm module? 1 #!/usr/bin/python 2 3 import rpm 4 5 ts = rpm.TransactionSet() ...
I added the following "Pre" section to my rpm installer's build.spec. When I install the rpm no new group or user is created? If I paste this into a script and run, then it works as expected. What am I missing? Thanks in advance, -Ed RHEL 5.2 ####################### # pre ####################### %pre # This works when run as a sc...
Is it a good or a bad idea to package and deploy web applications in rpm format. Did anyone experiment with this. ? Thank you ...
the problem is quite easy to exhibit: rpm --eval "%define xyz" error: Macro %xyz has empty body i want to get the patch_level and echo_dist may return sles11 or sles11sp1, for sle1s11 i just want the patch_level to be an empty string, but that leads to the empty body error. rpm --eval "%{expand: %%define patch_level %(echo_dist | sed...
for an rpm based system, I need to change a package with another package while installing the new one. fg, installation of package2.rpm shall uninstall package1.rpm and continue its installation slightly. for this, I'm planning to erase package1 while installing package2 and call rpm -e at %pre section of package2.rpm. But I can not be...
When I install my app, I would like to copy some files in /lib/modules/KERNEL_VERSION/extra. The problem of course is that KERNEL_VERSION is not fixed. I can find it by calling "uname -r", but how do I do this in a rpm spec file? Also, if there's a better method, I'm opened to ideas. ...
RPM is the package format in LSB but does LSB force any naming standard for RPMs similarly to this: http://www.rpm.org/max-rpm/ch-rpm-file-format.html Thank you in advance ...
I have a software suite of ~150 custom RPMs, with fairly complex dependencies between them: the tree of dependencies for each package is usually about five levels deep there are several packages that (deliberately) conflict with one another most packages depend on one or more Red Hat packages as well as other custom packages My Conti...
I'm trying to package a custom build of the latest PHP (5.3.3) with a set of pear packages. Unfortunately, the options given to do this don't seem to work. I'm posting the spec file as I see it should be. The version given doesn't actually fail, but it installs the PEAR packages in the wrong location. While they should go in /var/tmp...