Hello PLUGgers,
I want to build binary RPMs from the source .tar.gz, .tgz and RPM but I
got errors.
For the source .tar.gz and .tgz, I tried first the command of:
# rpm -ta package_name.tar.gz
or
# rpm -ta package_name.tgz
and I got similar errors of:
- - - < s n i p > - - -
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
- - - < s n i p > - - -
As for the source RPM, I tried the command of:
# rpm --rebuild package_name.src.rpm
and I got errors like:
- - - < s n i p > - - -
error: Bad exit status from /var/tmp/rpm-tmp.48553 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.48553 (%build)
- - - < s n i p > - - -
If I tried installing first the source RPM by issuing the command of:
# rpm -ivh package_name.src.rpm
and check the package_name.spec file located at
/usr/src/RPM/SPECS/package_name.spec, I found no problem (I think).
And afterwards, I issue the command of:
# rpm -ba package_name.spec
I got similar errors of:
- - - < s n i p > - - -
error: Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)
- - - < s n i p > - - -
Anybody cares to help me with my problem?
I hope for your detailed/clear explaination.
Thank you in advance.
---
MARVIN T. PASCUAL
[EMAIL PROTECTED]
Tel. # (+63-2) 929-3952
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]