The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
104 views

Repository Spec file

I have source of webfiles. I need to make a RPM for it. I have placed my source in SOURCES folder and use following spec file. But it is creating noarch rpm with 2MB size, but my source is greater ...
3
votes
2answers
305 views

Linux - Is there a way to fake the highest directory?

/ is the highest directory in Linux. Is there a way to fake that to something else say /opt/rpmbuild/BUILDROOT? Here's my problem space. I am trying to re-package a COTS into RPM format. The COTS ...
2
votes
4answers
1k views

Install Fedora Source package on RHEL / CentOS

I'm attempting to upgrade curl on RHEL / CentOS machines. I've found what seems to be the appropriate source packages in a number of repos. (ie, ...
2
votes
1answer
323 views

Build RPM using source directory, not tarball

In my organization, we deploy all our software to our production machines using RPM. Our build process (which is automated) involves checking out the source from version control, tarring that source ...
15
votes
3answers
4k views

Can one require “this OR that” package in an RPM spec file?

Does anyone know how to (or whether one can) specify an alternate requirement or set of requirements in a spec file, as opposed to a single requirement? For example, say there are two packages ...
1
vote
2answers
2k views

Building official SRPMs in CentOS. All the steps

I am new to Centos and yum in general. How do I retreive the SRPM using yumdownloader --source? When I run the command it says the SRPMs are not found. How do I add the repository? I am talking ...
0
votes
1answer
704 views

Building php-devel package from source (php 5.3)

I am building PHP 5.3 rpm packages for our custom CentOS 5 yum repo. I am fairly new to building rpms to be honest, but I have had moderate success downloading the SRPMS for a given package and ...
0
votes
1answer
551 views

how to override rpm macro

I have spent around 3 hrs now. How to override a macro during rpm build ? I want to override _sbindir (/usr/sbin) to /opt/sbin I have edited rpm macro files both system and local user files nothing ...
1
vote
4answers
2k views

How to create an rpm without a build step

I'm trying to create an rpm of some code which doesn't need to be built. It will just need to run a script when it's installed on the destination system (i.e. I just need the %install portion of the ...
0
votes
1answer
996 views

Rpmbuild changes current directory

Having failures to build RPM using some spec file which works great for other users, I found out that it for some reason changes the current directory to rpmbuild/BUILD: + umask 022 + cd ...
0
votes
1answer
681 views

Does BuildRoot influence the RPM installation?

I'm trying to figure out how $RPM_BUILD_ROOT relates to BuildRoot. It's clear that BuildRoot is the temporary path used during RPM construction. But here for example, they say buildroot is used during ...
1
vote
1answer
905 views

Making your own RPM's based on existing source - Updating the RPM?

I am trying to compile my own RPM packages of some various existing software. Most of this software is normally installed by doing ./configure make install I followed a tutorial here and attempted ...
2
votes
3answers
7k views

How to create RPM for 32-bit arch from a 64-bit arch server?

Our production server is running CentOS5 64-bit arch. Because there are no RPM available currently for SQLite latest version (v3.7.3), I created RPM using rpmbuild the very first time by following ...
2
votes
1answer
412 views

How do I include a customized configuration file in a rebuilt RPM?

We've rebuilt a bunch of RPMs because we wanted to remove modules and change config options for items specific to our production environment. We're hosting them in a private repo, and have them signed ...
0
votes
2answers
137 views

RPM Generation X86_64

I am generating RPM for the fisrt time. I have created folder structure mkdir -p tmp/rpm/{BUILD,BUILDROOT,RPMS/x86_64,SOURCES,SRPMS,SPECS} . But when I generated my RPM, it generates my RPM with ...
1
vote
2answers
2k views

How to Install Python 2.6 on Fedora 8?

I don't want to use Fedora 8. I would be very happy to use the newest version, but there is no choice. My problem is that 8 comes with python 2.5. I am trying to upgrade it to 2.6, but with no luck. ...
2
votes
2answers
1k views

How do you change topdir as a user in SSH?

I have read several places NEVER to build RPM's as the root user. As such, I defined a new user and have tried building out RPM structures there, however, using the rpmbuild --rebuild src.name.rpm ...
0
votes
1answer
676 views

rpm build from src file

I'm trying to build from a *.src.rpm file on FC 12 in such a way that the files are distributed a across my system as they would with a normal binary build (in this case, *.h files end up in ...
3
votes
1answer
2k views

RPM Build Issue

I build my rpms as such: rpmbuild -bb SPECS/python.spec With the following spec file: %define _topdir /home/rpmbuild/python %define name Python %define release 1 %define version 2.6.4 %define ...
5
votes
2answers
841 views

RPM packaging multiple versions for simultaneous install

Are there some guidelines, or does anyone have suggestions on how I should package something that I need to be able to have multiple versions of installed at the same time?
5
votes
2answers
402 views

Building an rpm file with a unique qualifier appended

I'm building RPMs in a continuous integration environment, and I need to distinguish between successive builds, but obviously the spec file does not get modified on each checkin. The spec file header ...
7
votes
1answer
8k views

Creating symlink in /usr/bin when creating an RPM

I'm creating an RPM for an application that doesn't already have one. I've got it building and installing fine in the /opt directory using $RPM_BUILD_ROOT, but I would also like to create a couple ...