rpmbuild Questions

1

Solved

Linux version 2.6.18-131.el5 gcc version 4.1.2 RPM version 4.4.2.3 I use the following command to build packages: $ sudo rpmbuild -ba xxx.spec I thought that the debuginfo package should be buil...
Elana asked 26/8, 2013 at 3:35

2

If I have this line in the %files: %attr(0555, myuser, myuser) /opt/myapp/lib/my.jar Then my.jar will have myuser as owner, but directory /opt/myapp/lib will be owner by root. I don't want to wr...
Ibbison asked 1/4, 2012 at 9:54

1

I have two issues that i would like to figure out a solution to: I am renaming the munin 2.0 package and in the SPEC file for the RPM I have to obsolete the original munin packages. When replaci...
Fluorescence asked 4/4, 2013 at 17:23

2

Solved

I'm attempting to use the %{dist} tag in my RPM spec file to provide distribution-specific dependencies between Fedora Core (e.g. fc12), CentOS 5 (e.g. el5) and Amazon's Linux AMI: Release: %_svn_...
Noticeable asked 27/2, 2011 at 19:56

1

Solved

I'm trying to create a package that only updates files on the system, but I keep getting errors when rpmbuild is run. The error indicates a file is missing. I've tried this on CentOS 5 and 6 with ...
Observable asked 28/12, 2012 at 0:1

2

Solved

I have two boxes that I'm using to build a source rpm. One of them runs: /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/name-of-package which adds three name.debug files to the RPM_BUID_RO...
Severson asked 11/11, 2010 at 19:56

2

Solved

Passing User defined argument to RPM is possible while installing?. for example: ~>rpm -i sample.rpm -license_path=/path/ or ~>rpm -i -license_path=/path/ sample.rpm or ~>rpm -i -s...
Teodoor asked 26/6, 2012 at 10:4

2

Solved

I'm trying to create an RPM in Fedora 15 that will install my software, but in order for my software to work correctly once installed, I also need to edit other (configuration) files on the system,...
Cauca asked 25/6, 2012 at 21:6

1

Solved

I have a spec file. I need to %define a spec variable that gets its value from a one line file on the system. For example %define path `cat /home/user/path_file` and in path_file is one line /...
Altis asked 19/4, 2012 at 18:3

3

I have a .spec file that relies on a variable called _topdir. Right now when you checkout the SRPM source from git, you have to go and change where _topdir is pointing to to get the rpmbuild to fu...
Eldredge asked 8/6, 2011 at 22:2

1

Solved

Our team frequently performs customization to various packages distributed with RHEL/CentOS. Our workflow involves installing the SRPM, executing rpmbuild -bp to unpack and patch the source, making...
Eisenstark asked 23/9, 2011 at 22:42

2

Solved

Because I have to install multiple versions of Python on multiple Oracle Linux servers which are built via a kickstart process, I wanted to build a python rpm for our yum repository. I was able to ...
Neglectful asked 14/9, 2011 at 21:37

2

I have a RPM file. I have to make some changes to that RPM , repack it and Test. Can anyone help me?
Induction asked 15/6, 2011 at 8:5

1

Solved

The file ldm.spec contains the line Source: /web/ftp/pub/ldm/%{name}-%{version}.tar.gz in its first section. %{name} and %{version} are set correctly. The given file does exist. The command rpm...
Egoism asked 23/6, 2011 at 21:43

2

Solved

Searching open source projects, shows me that spec files in the wild do use bash constructs, for instance cat info|while read. But is it really safe? Does the rpm documentation tells me I can coun...
Shuck asked 23/5, 2011 at 6:32

2

Solved

In Fedora Gnome... Using a .desktop file in my rpm, I have successfully put my gui software into the gnome application menu. I am wondering if there is a way to also put the icon onto the gnome d...
Heckelphone asked 31/1, 2011 at 21:40

1

Solved

I finally got my program packaged in a RPM on Fedora 14 yesterday, and I thought that it would be easy to build it the same way on a CentOS 4.8 box. It turns out that the older version of rpm and d...
Rita asked 22/12, 2010 at 17:17

2

Solved

I'm modifying an automated build, and want to tell rpmbuild to use a specific build area when invoking it. This is similar to an existing question, but more specific. I don't want to run any of ...
Longplaying asked 4/6, 2010 at 3:49

2

Solved

I have a library from which I'd like to create two RPM packages. While I found several links on how to create a basic RPM package, I can't find how to create a devel package (see this question if ...
Sunda asked 26/5, 2010 at 13:0

1

I've been trying to find out what's the easiest way to set a fixed filename during rpm creation. Can it be set somewhere in .spec file or as rpmbuild parameter? The default name depends on version ...
Tersanctus asked 15/3, 2010 at 20:7

2

Solved

I have been reading about creating an RPM for Python 2.6.4. In this page: http://docs.python.org/distutils/builtdist.html it says you can create an RPM of the current Python using python setup.py b...
Holmquist asked 24/2, 2010 at 9:39

© 2022 - 2024 — McMap. All rights reserved.