The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
37 views

Is the lmdb-devel package necessary for installing the cfengine on RHEL v.7 via an RPM .spec file?

I have a problem when I try to build from my spec file. I run this: rpmbuild -ba newpackage.spec I see a great deal of output. It ends with these lines: configure: error: Cannot find ...
1
vote
1answer
38 views

How do I get a basic spec file to work with rpmbuild?

I installed rpmlint and rpmdevtools. I used rpmdevtools to create a template of a .spec file. I modified the spec file so it will install cfengine. I ran rpmlint on the spec file, and I saw no ...
0
votes
0answers
45 views

RPM Dist Tag not behaving as documented

According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos. The line from my .spec: Release: 1%{?_buildid}%{?dist} I ...
0
votes
1answer
110 views

rpm package conflicts with itself in yum

I prepared custom package platform-6-1.2.3-1.x86_64. I want it to be conflicting with every OTHER plat-6 package installed in the system. Files of the package are not conflicting with the others ...
0
votes
0answers
92 views

Producing RPMs that conflict with all versions released by someone else?

I find myself needing to create a variant of the PostgreSQL packages that are mostly compatible with the official http://yum.postgresql.org/ packages. My packages are compatible with client apps that ...
0
votes
1answer
99 views

In an RPM spec file, when a file isn't found, how to find out which %files line is at fault?

I'm working with a very macro-heavy RPM spec file, and when building it's producing an error I can't seem to track down: File not found: /var/tmp/pkgnamehere/mockbuild/usr/com/pgsql (I've replaced ...
0
votes
1answer
135 views

Warning messages while building Apache server

I am building Apache server 2.4.6 from source and am not sure about a few warning messages I received during the rpm build process. The build completes OK and everything seems fine..BTW, this is on ...
4
votes
1answer
169 views

How to prevent installation of incompatible rpm packages

I have two rpm packages wich should not get installed together. After googling around i assume there is no RequiresNot tag or something similar to specify incompatible packages in a specfile. What ...
-1
votes
1answer
261 views

Building debuginfo RPM at alternate prefix

I have an RPM that I'm building to install at an alternate root via %define _prefix /home/other/root This works fine for the binary package. The -debuginfo package, however, still lists all of its ...
4
votes
1answer
418 views

How to escape spaces in an rpm spec “source” item?

I'm trying to build an RPM, but the source file from the vendor has a space in the filename, and there doesn't seem to be any good way to escape the filename so that it builds. I've tried putting a \ ...
4
votes
3answers
9k views

Reference for RPM spec macros (%setup, %buildroot, etc)

Which man page describes the usage of the top-level RPM spec file macros that are defined in RPM source files directly? I mean, %setup, %buildroot and the like, which are not in /usr/lib/rpm. Looking ...
1
vote
1answer
2k views

How to update crontab for a non-root user on Solaris non-interactively?

I would like to update crontab entries for a non-root user for an application which gets installed as OpenPKG RPM package. Currently I have this in the %post section of my .spec file: # # Set up the ...
3
votes
2answers
98 views

RPM package naming for alternative configurations

I currently install PHP from source in several different configurations around my environment, each providing the minimum feature set required for its particular deployment: one deployment requires ...
5
votes
1answer
5k views

RPM Spec How to specify in package so that previous RPM is removed

Question: What do I put in the foo.spec file so that the rpm's will remove the previous rpm before installing? Description: I have created a spec file that creates rpm's for a few packages that use ...
1
vote
0answers
347 views

Mock build system error: sh: ruby: command not found

I am trying to build a RPM using the mock build system. However, the shell in the mock environment cannot seem to find the ruby command. I run in to a build error: sh: ruby: command not found I can ...