Questions tagged [rpmbuild]

rpmbuild command used to build rpms from rpm SPEC files

rpmbuild is the command used to build rpms from a rpm SPEC file.

854 questions
0
votes
2 answers

compile gdb source rpm with symbols using rpmbuild

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…
0
votes
1 answer

wxPython src rpm build fails

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…
Patryk
  • 22,602
  • 44
  • 128
  • 244
0
votes
1 answer

Buildrequiring a subpackage by another subpackage?

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…
compostus
  • 1,178
  • 10
  • 13
0
votes
1 answer

how can I create an RPM from a subdir?

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…
GaryO
  • 5,873
  • 1
  • 36
  • 61
0
votes
1 answer

Multi-architectural binary rpm and the noarch

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…
n0p
  • 713
  • 10
  • 23
0
votes
1 answer

How to Require node.js in a RPM Specfile?

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…
zrneely
  • 1,802
  • 3
  • 17
  • 26
0
votes
0 answers

Forking a rpm into two

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…
seaquest
  • 311
  • 3
  • 9
0
votes
1 answer

spec file requires rpm-build... change requires dependent on os-release?

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…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
0
votes
0 answers

warnings during uninstallation of a package which contains .tmp files on redhat 7

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…
McClane
  • 71
  • 1
  • 6
0
votes
2 answers

rpm -i installs over installed version of the same software

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…
eramm
  • 191
  • 16
0
votes
1 answer

bash script: how to compare version numbers

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…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
0
votes
1 answer

named pipe in rpmbuild

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…
Bruno9779
  • 1,551
  • 2
  • 14
  • 31
0
votes
2 answers

Can you use RPM to distribute a *.bin file

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…
user275633
  • 23
  • 1
  • 7
0
votes
2 answers

Create .rpm package for java - any automatic software?

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…
Maciej Cygan
  • 5,351
  • 5
  • 38
  • 72
0
votes
0 answers

Build customized RPM for sqlite3 with rtree extension

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…
Clueless
  • 163
  • 16