I want to make gdb rpm from gdb.spec file using rpmbuld which I can do without any problem but now in addition to that i want GDB to be complied with symbols so that when gdb is being attached to itself I should know the exact call flow and where…
I wanted to install wxPython2.8-2.8.12.1-1.src.rpm on my Centos6 box with the src rpm provided here http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
I did this as root:
rpmbuild --rebuild wxPython2.8-2.8.12.1-1.src.rpm
and in the…
I'm trying to build an RPM of Google's protobuf, including the protobuf-python subpackage. Now, this is no problem until i want to build the python subpackage with PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp python setup.py build. This requires the…
I have a subdir my_sw that has an image of what I want to install:
my_sw/
usr/
bin/
foo
man/
man1/
foo.1
and so on. I imagine there must be a simple way to create a spec file and use rpmbuild to package this up as…
I have two (32-bit and 64-bit) versions of a compiled software which I would like to package into ONE binary RPM. I am wondering if 'noarch' target is suitable for this purpose or there are better alternatives? The only issue with 'noarch' that I…
While building an RPM package, how can I use Requires or some similar tag to specify node.js version 0.10.28 or greater as a prerequisite? It's not in the default repositories, and it's possible the user has built it from source. I've looked around…
I need to fork a rpm into two rpm because of being two separate products.
Formerly both product were using "reporter.rpm". Now, they will use
"reporter-product1.rpm" and "reporter-product2.rpm", respectively.
These rpm's will be required by a base…
I'm building a spec file that requires /usr/bin/rpmbuild to be installed. Under Opensuse13.1 that is very simple: I just add this line in my spec file:
Requires: rpm-build
and this works nicely on Opensuse13.1
Yet When I try to build and install…
I have created a package which has .tmp file. During unistallation of that package on red hat 7, I am getting warnings as below.
# rpm -e package_name
warning: file file_loc/abc.tmp: remove failed: No such file or directory
But, on other releases…
I created a rpm based on the following spec
Name : MyProg
Summary : A program I wrote
Version : 4.3.6.6797
Release : 1
rpmbuild creates a file called MyProg-4.3.6.6797-1.x86_64 and I installed it on my machine using rpm -i
However after…
I wrote a wrapper for rpmbuild that creates the source.tgz file in the ~/rpmbuild/SOURCES/. However when I use this script on an older operating system; rpm's are built in /usr/src/.... So inside my bash script I would like to get the version number…
I need to set the permissions of a file in rpm as a named pipe.
We deploy configuration files with some fancy rpm magic (%postun, %triggerin and %triggerun are used to mpve aside old config files and restore the m if needed).
As part of the…
I've never had to do this and I'm not really sure you can do it or not. But can I use RPM to distribute an already created *.bin file (a Linux self extracting binary files). My scenario is this, we use RPM to distribute all of our software. I have a…
I want to create an RPM package for a java application. I have never done rpm packages and i still do not quite understand how to do it manually. Is there a software that can do this (or at least most of it) automatically ?. Currently if user wants…
I have the case that I'm using the sqlite3 database which is installed on the Red Hat Linux distribution.
Additionally to the sqlite3 database I need the rtree extension. By default this is not supported but could easily recompiled by a developer to…