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
1 answer

rpmBUILD : rpmbuild display client side message or log

i have problem regarding the stderr and stdout message print on the client console for specified costume message on specified costume condition .i want to put it on spec file or where? "like for example if i have build rpm xyz.rpm when after…
meet patel
  • 181
  • 1
  • 2
  • 17
0
votes
2 answers

RPMBUILD: Is is possible to RPM configuration file portability at install time

As per my requirement is is possible that the rpm is same for all server but only one config file change as per the server environment like production,staging,testing or else. i have bundle of config file for all server but i don't want hardcode it…
meet patel
  • 181
  • 1
  • 2
  • 17
0
votes
1 answer

I'm trying to create custom RPM using SPEC file.

demo.spec Name: demo Version: 1 Release: 0 Summary: demo apss Group: Applications/Archiving License: GPLv2+ URL: http://xyz.co.in Source0: …
meet patel
  • 181
  • 1
  • 2
  • 17
0
votes
2 answers
0
votes
1 answer

rpm spec file syntax error

I was trying to create a rpm package, my spec file looks like this: %define config_option (cat %1) %define __spec_install_post %{nil} %define debug_package %{nil} %define __os_install_post %{_dbpath}/brp-compress %define __prelink_undo_cmd…
Da Zhao
  • 11
  • 4
0
votes
2 answers

Need GLIBC debug information from rpmbuild of updated source

I'm working on RHEL WS 4.5. I've obtained the glibc source rpm matching this system, opened it to get its contents using rpm2cpio. Working in that tree, I've created a patch to mtrace.c (i want to add more stack backtrace levels) and incorporated it…
0
votes
0 answers

How do I prevent rpm(build) from changing the access rights of config files during an update installation

I use a RPM spec which contains lines very similar to the following: ... %files %defattr(-,root,root) %attr(0666,root,root) %config /etc/myapp/myconfig.ini ... The problem I encounter if someone installs an update of the RPM is that the access mode…
ur.
  • 2,890
  • 1
  • 18
  • 21
0
votes
0 answers

error in rpmbuild for MeeGo

I am getting error when I am trying to do rpmbuild to build the kernel from source for MeeGo 1.2. After run this command: rpmbuild -bp --target $(uname -m) kernel-adaptation-intel-automative.spec I am getting this error: make ARCH=x86…
StackReader
  • 135
  • 1
  • 4
  • 11
0
votes
2 answers

How to get RPM build to set installation path correctly

This is my first attempt at building an RPM and I'm finding it a bit confusing, not really getting the different variables at all yet, so would appreciate any advice on the below.. I have the following spec file: BuildRoot :…
user983597
  • 103
  • 5
0
votes
2 answers

pkgconfig(alsa) in spec file doesn't recognize already installed alsa, alsa-devel

I'm trying to build qt on CentOS 5.6 but it fails with the reason that the system doesn't have required libraries. I'm trying to build with source and spec file from the Fedora qt source rpm file. $ rpmbuild -ba qt.spec and the fail message is like…
Shukelton
  • 71
  • 1
  • 8
0
votes
1 answer

Why Linux rpm s are OS specific

Say I have a rpm, built for SUSE Linux Enterprise Server(SLES) and I want to install the same rpm in Red Hat Enterprise Linux. Will I face any architectural dependency issue here? What are the main concerns for installing a rpm, built for one OS,…
Samiron
  • 5,169
  • 2
  • 28
  • 55
0
votes
1 answer

Verify Linux software packages before installing RPM

I have an RPM file that need to be installed, before installing I want to check the version of packages contained within it. If the package is already installed I can use rpm -qi to know the version number, but what option do I use to find out the…
anish
  • 6,884
  • 13
  • 74
  • 140
0
votes
1 answer

rpm U options to be used?

i want to upgrade my install component, in such a way,that only only specfied files get replaced and the structure will not changed rpm -qlp CDA-4.2.1-201203020211.i386.rpm…
anish
  • 6,884
  • 13
  • 74
  • 140
-1
votes
1 answer

rpm -e did not removed installed directory

All, I created a RPM package using rpm.spec file. The package installed succesfully. When i remove the package using rpm -e it removed from RPM database But directory structure that the pkg created was not removed. Please help me to resolve this…
baluchen
  • 749
  • 3
  • 11
  • 18
-1
votes
1 answer

How does rpmbuild move the results to the target

When I do rpmbuild -bi ~/rpmbuild/SPECS/microemacs.spec The result is >g++ -g -I. -I../src basic.o bind.o buffer.o char.o crypt.o display.o eval.o exec.o file.o > fileio.o input.o isearch.o line.o main.o malloc.o mouse.o msdir.o random.o region.o…
Questaware
  • 87
  • 5