Reply to comment

Fixes to the code: echo

Fixes to the code:

 echo "%_rpmdir `pwd`/RPMS" >> $RPMMACROS
should be
 echo "%_rpmdir $RPMBUILD/RPMS" >> $RPMMACROS
SRPM gets built with only the spec file and no files from the BUILDROOT

RPM gets built correctly

Sometimes we get an error like:

 error: Couldn't exec /usr/lib/rpm/fontconfig.prov: No such file or directory
 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Yet the rpm gets compiled correctly.

Everytime we get: unknown, 0: Warning: using regular magic file `/etc/magic'.

Reply

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
T
v
S
B
5
i
Enter the code without spaces and pay attention to upper/lower case.