Top "Rpmbuild" questions

rpmbuild command used to build rpms from rpm SPEC files

RPM upgrade uninstalls the RPM

I am upgrading our project RPM. The problem is when I upgrade from projectname-1.0-0 to projectname-1.0-1, it first …

upgrade rpm rpmbuild specifications
How to set owner for directory in the %files?

If I have this line in the %files: %attr(0555, myuser, myuser) /opt/myapp/lib/my.jar Then my.jar will …

rpm rpmbuild rpm-spec
If condition inside the %Files section on a SPEC file

I'm kinda a new to writing spec files and building RPM's. Currently I have one RPM that is supposed to …

rpmbuild specifications
RPM build No such file or directory

I want to create simple RPM file with many small files. [root@laptop rpm]# tree . ├── BUILD ├── BUILDROOT ├── RPMS ├── SOURCES │   └── some_…

linux rpm rpmbuild rpm-spec
How do I get rpmbuild to download all of the sources for a particular .spec?

I am adding some sources to an existing rpm .spec file by URL and don't have them downloaded yet. Is …

rpm rpmbuild rpm-spec
Rpmbuild - setting name of created .rpm

I've been trying to find out what's the easiest way to set a fixed filename during rpm creation. Can it …

rpm rpmbuild
rpmbuild %{dist} not defined on CentOS 5.5?

I'm attempting to use the %{dist} tag in my RPM spec file to provide distribution-specific dependencies between Fedora Core (e.…

rpm centos5 rpmbuild
rpm & rpmbuild - using global environment variable in the %files section

I have been struggling for a while with this one. So I wrote a .specs file for my project and …

rpm rpmbuild rpm-spec
How to set the build area for rpmbuild per-invocation

I'm modifying an automated build, and want to tell rpmbuild to use a specific build area when invoking it. This …

build-process packaging rpm rpmbuild
Packaging symlinks via rpmbuild?

Is it possible to make rpmbuild to preserve symlinks on packaging? The current behavior is to create copies of files, …

symlink rpm rpmbuild rpm-spec