Top "Rpm-spec" questions

The rpm spec file contains the information required by RPM to build a package.

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
can an RPM spec file "include" other files?

Is there a kind of "include" directive in RPM spec? I couldn't find an answer by googling. Motivation: I have …

linux scripting rpm rpm-spec
How do you make _topdir relative to the location of the .spec file when building an RPM?

I have a .spec file that relies on a variable called _topdir. Right now when you checkout the SRPM source …

relative-path rpm rpmbuild rpm-spec
rpmbuild change compression format

I try to pack some map files for our geoserver in an internal rpm package. For the build part, this …

compression rpm rpmbuild rpm-spec
CentOS 5.5 - symbolic link creation into RPM spec file

I need to create the following symbolic links into RPM file /bin/ln -sf libcrypto.so.0.9.8e /lib/libcrypto.so.0.9.8 /…

linux centos rpm centos5 rpm-spec
Can I use rpm to expand the macros in a specfile?

The concrete example being I have lots of specfiles with Source0: or other Source lines containing macros. How can I …

rpm rpm-spec
Using Jenkins BUILD NUMBER in RPM spec file

Name: My Software Version: 1.0.5 Release: 1 Summary: This is my software Not sure if anyone has tried this before or if …

linux jenkins rpm rpmbuild rpm-spec
RPM-Build -How to print error message at rpm install at client

my requirement is that i want to print some message on screen if rpm install fails in any case at …

rpm rpmbuild rpm-spec sharpmap
Set permissions after RPM install

I use this spec file to use RPM files Name: pack-agent Version: 1.0 Release: 1%{?dist} Summary: Linux Agent installation script Group: …

rpm rpmbuild rpm-spec
Exclude or delete directory path from %files in rpm.spec file

My spec files path looks like below : /opt/OV /opt/OV/NonOV /opt/OV/NonOV/ABCD /opt/OV/NonOV/ABCD/…

rpm rpmbuild rpm-spec