Top "Rpm-spec" questions

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

extract the spec file from rpm package

Is there any way to extract the spec file from rpm package ( I have only RPM file ) not by rpm …

linux rpm rpmbuild rpm-spec
What does %defattr mean in RPM spec files?

While creating RPMs, the RPM spec files have a directive %defattr . I know that it defines the default attributes for …

permissions rpm rpm-spec
How to pass user defined parameters to rpmbuild to fill variables

is it possible to pass parameters to rpmbuild to fill user defined variables that are called inside the spec file? …

rpmbuild rpm-spec
RPM build errors:Bad exit status from /var/tmp/rpm-tmp.32XJLX (%install)

Im trying to create a simple rpm package on centos 6.5.. But i cannot finish it as its giving me errors.. …

bash centos rpm rpmbuild rpm-spec
RPM spec file - Is it possible to dynamically populate a spec file variable

I have a spec file. I need to %define a spec variable that gets its value from a one line …

rpm rpmbuild rpm-spec
Build RPM to just install files

I need to build a RPM, with the sole purpose of installing a few fonts. I have read several tutorials …

rpm rpm-spec
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
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
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