0
votes
1answer
16 views

how to make rpmbuild automatically generate require >= and not =

I rpmbuild a package and afterwards I find that it requires python(abi) = 2.5 . I don't want to use AutoReqProv: no to suppress generation of requirements completely, I just want to make it ...
0
votes
1answer
165 views

Yum does not install specific RPM version with custom repo

We use RPMS for our packaging and yum to update our environments. We have an rpm package-5.1.1-3 installed in our production server and in our yum repository we have 2 newer versions such as ...
0
votes
1answer
31 views

How to create rpm without building anything?

I have a pile of already compiled binaries, placed under proper locations - how can I automagically create an RPM package from that with a proper meta-information, i.e. version, packager, package ...
0
votes
0answers
111 views

Yum does not resolve depencies after a rpm -ivh installation

i use AWS EC2 instances. i wanted to setup a package versioned at 5.4.0 but the latest that yum search all --enablerepo epel offered was 5.0.0. i hence did wget and configure && make ...
0
votes
1answer
584 views

Building a simple RPM on Oracle Linux (RedHat) using rpm build

I want to make a RPM using a certain user, from a specified build directory location. The RPM contains multiple files or one gzip, and should copy those files to a preset location (so it should be ...
0
votes
1answer
32 views

RPM User specific updates

I have packaged my software as rpm and everything is working just fine with software however there is one part of contents of rpm which I can't find proper way to update. Every user in system has ...
0
votes
1answer
253 views

Rpmbuild large packages

I am building a very large (4GB+) packages on rpm 4.8.0. What things should I watch out for? I am getting "Bad magic error" when my package exceeds 2GB
0
votes
1answer
71 views

rpm-spec and Home's user folder

I'm just trying to figure out how to know in an rpm package that calls sudo, and put some files in the non-root home folder for the users who call sudo or are root. I tried with something like this: ...
0
votes
1answer
27 views

What is the source package for wxBase on Fedora 18?

I want to build the 2.9.x version of wxWidgets on Fedora 18, but I can't find the source package for wxBase.
0
votes
1answer
167 views

Is there any RPM online factory for Fedora?

I want some online service that will allow me: Build RPM from my provided sources and spec-files; Create and edit spec-files online, using some predefined templates (CMake, autotools, etc.); Provide ...
0
votes
2answers
214 views

How do I turn off the perl-specific parts of find-requires when building an RPM?

rpmbuild will scan Perl modules to find Perl dependencies, but it doesn't understand optional modules and its generated Perl module requirement list will often be wrong. How can I turn this feature ...
2
votes
2answers
348 views

Upgrading Node.JS from tarball of binares when yum-installed version already exists

On CentOS 6.3 64-bit, I've installed Node.JS version 0.6.18 using yum. I have an application that requires Node.JS v0.8.x. The currently stable version of Node.JS available is 0.8.7, which is ...
1
vote
1answer
2k views

Why do I get Files Listed Twice when building my RPM?

My understanding is that if I specify the %dir directive under the %files list, RPM will not list any files under that directory. Doing this can allow you to set specific permissions for the directory ...
1
vote
2answers
1k views

user XXXX does not exist - using root?

In makefile, i used 'install' command as below command:'install -o 1010 -g 100 -m 0755 -D path' instead of checking user name and group name i would like to check uid and gid. Consider the ...
2
votes
2answers
282 views

yum/RPM depend on generic package (like “provides” in other package managers)

I'm trying to figure out how to make a package of mine depend on anything that provides "java", but I'm not sure what to even look up. Apparently "yum provides" is a command for finding out which ...
0
votes
1answer
64 views

Fetch a variable value from the target server in RPM

I want to read a variable value from the target server in the %install script. When I try to package the script, it searches the file where I am packaging and fails to find it. Is there any option to ...
1
vote
1answer
98 views

How to know the version of RPM during installation

I have created a script for deployment using YUM and RPM. During the pre script, is it possible to know whats the version of the rpm I am deploying. I want to create a backup file with the version ...
1
vote
1answer
5k views

Is it possible to modify/rebuild an rpm without the srpm?

I have an rpm for which I need to change the preinstal scriptlet for testing. However, I do not have the SRPM from which is was built. Is it possible to change the scriptlet and/or rebuild the rpm ...
1
vote
1answer
886 views

How does RPM determine newer package

I have taken the Apache httpd 2.2.3 SRPM and extracted the .spec file. From this I've replaced 2.2.3 with 2.2.14 and removed the Serial tag from the specfile (as rpmbuild complained about the Serial ...