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...
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...
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...
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_...
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 ...
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...
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...
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,...
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
/...
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 ...
2
I have a RPM file. I have to make some changes to that RPM , repack it and Test. Can anyone help me?
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...
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...
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...
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...
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 ...
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 ...
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.